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

my-ci

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

my-ci - npm Package Compare versions

Comparing version 1.0.14 to 1.1.0

2

app/start.js
#!/usr/bin/env node
const arg = require('arg');
const { app } = require('./app/app');
const { app } = require('./app');
const DEFAULT_PORT = 7002;

@@ -5,0 +5,0 @@

@@ -11,7 +11,4 @@ const { readWorkYML } = require("../utils");

// "ref": "refs/heads/release",
// 先工具my-ci.yml判断是否触发
const workConfig = readWorkYML(workName);
const job = matchedJob(workName, args.ref);
console.log('matched!!!!: ', job)
if (!job) return;
// 先拉git再读my-ci.yml判断是否触发
// const workConfig = readWorkYML(workName);

@@ -32,5 +29,10 @@ let commitId = args.head_commit.id;

`).to('.my-ci/work.log');
// --- Script -------------------------------------
// const workConfig = readWorkYML(workName);
// console.log(job.script)
const job = matchedJob(workName, args.ref);
console.log('matched!!!!: ', job)
if (!job) return;
let jobScripts = job.script || [];

@@ -37,0 +39,0 @@ jobScripts.forEach((script) => {

{
"name": "my-ci",
"version": "1.0.14",
"version": "1.1.0",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

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