Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@anilanar/moxci

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@anilanar/moxci - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

6

lib/github-notify.js

@@ -44,3 +44,3 @@ "use strict";

exports.notifyGithubPr = function (_a) {
var owner = _a.owner, repo = _a.repo, token = _a.token, artifactUrl = _a.artifactUrl, sha = _a.sha;
var owner = _a.owner, repo = _a.repo, token = _a.token, artifactUrl = _a.artifactUrl, job = _a.job, sha = _a.sha;
return __awaiter(_this, void 0, void 0, function () {

@@ -56,4 +56,4 @@ var octokit;

state: "success",
context: "Storybook is ready!",
description: "Click details to go to the storybook."
context: job + " artifact is ready!",
description: "Click details to see in the browser."
})];

@@ -60,0 +60,0 @@ });

@@ -42,7 +42,7 @@ "use strict";

exports.moxci = function (targetPath, options) { return __awaiter(_this, void 0, void 0, function () {
var _a, CIRCLE_BUILD_NUM, GITHUB_TOKEN, CIRCLE_TOKEN, CIRCLE_PROJECT_USERNAME, CIRCLE_PROJECT_REPONAME, CIRCLE_SHA1, circleciApiUrl, artifactUrl;
var _a, CIRCLE_BUILD_NUM, GITHUB_TOKEN, CIRCLE_TOKEN, CIRCLE_PROJECT_USERNAME, CIRCLE_PROJECT_REPONAME, CIRCLE_SHA1, CIRCLE_JOB, circleciApiUrl, artifactUrl;
return __generator(this, function (_b) {
switch (_b.label) {
case 0:
_a = process.env, CIRCLE_BUILD_NUM = _a.CIRCLE_BUILD_NUM, GITHUB_TOKEN = _a.GITHUB_TOKEN, CIRCLE_TOKEN = _a.CIRCLE_TOKEN, CIRCLE_PROJECT_USERNAME = _a.CIRCLE_PROJECT_USERNAME, CIRCLE_PROJECT_REPONAME = _a.CIRCLE_PROJECT_REPONAME, CIRCLE_SHA1 = _a.CIRCLE_SHA1;
_a = process.env, CIRCLE_BUILD_NUM = _a.CIRCLE_BUILD_NUM, GITHUB_TOKEN = _a.GITHUB_TOKEN, CIRCLE_TOKEN = _a.CIRCLE_TOKEN, CIRCLE_PROJECT_USERNAME = _a.CIRCLE_PROJECT_USERNAME, CIRCLE_PROJECT_REPONAME = _a.CIRCLE_PROJECT_REPONAME, CIRCLE_SHA1 = _a.CIRCLE_SHA1, CIRCLE_JOB = _a.CIRCLE_JOB;
// Validation

@@ -80,2 +80,3 @@ if (!CIRCLE_PROJECT_USERNAME) {

token: GITHUB_TOKEN,
job: CIRCLE_JOB || "#unknown",
artifactUrl: artifactUrl

@@ -82,0 +83,0 @@ });

{
"name": "@anilanar/moxci",
"version": "0.0.3",
"version": "0.0.4",
"description": "tool to notify circleci build artifacts as a github commit status.",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/anilanar/moxci#readme",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc