Gathering detailed insights and metrics for git-polling-worker-ci
Gathering detailed insights and metrics for git-polling-worker-ci
Gathering detailed insights and metrics for git-polling-worker-ci
Gathering detailed insights and metrics for git-polling-worker-ci
npm install git-polling-worker-ci
Typescript
Module System
Node Version
NPM Version
TypeScript (91.99%)
JavaScript (8.01%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
1 Stars
12 Commits
5 Branches
1 Contributors
Updated on Feb 16, 2021
Latest Version
0.1.2
Package Id
git-polling-worker-ci@0.1.2
Unpacked Size
24.16 kB
Size
6.02 kB
File Count
6
NPM Version
6.14.9
Node Version
14.15.3
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
5
7
1yarn global add git-polling-worker-ci 2# or 3npm install -g git-polling-worker-ci
1yarn add git-polling-worker-ci 2# or 3npm install git-polling-worker-ci
Usage: git-ci [options]
Minimal Git CI Polling solution.
Options:
-V, --version output the version number
-d, --directory <dir> Specify a directory different than the current one.
-i, --interval <n> Specify polling interval. It should follow https://www.npmjs.com/package/ms API,
for example: git-ci -i "60 seconds".
--no-continue If the polling should stop after a successful execution.
-h, --help display help for command
It will poll every 60 seconds, and if there is a new change detected in the remote repository, it will update the repo and call yarn start
1git-ci yarn start
1// worker.js | worker.ts 2 3// import { workerGitCI } from "git-polling-worker-ci"; 4const { workerGitCI } = require("git-polling-worker-ci"); 5 6workerGitCI({ 7 baseDir: "./", 8 command: "yarn start", 9 pollingInterval: "30 seconds", 10 continueAfterExecution: true, 11});
(Only via script)
You can specify Directory changed scripts
, to verify if specific directories change, and only if the did, execute the specified script, which can be a string of the bash script to be executed or the function (can be an async function).
These scripts always execute before the main command, either sequentially or in parallel (sequentially
by default).
1workerGitCI({ 2 command: "yarn start", // You can specify a shell script. 3 script: () => { 4 // Or a function, but at least one of them has to be specified. 5 console.log("Hello world"); 6 }, 7 pollingInterval: "30 seconds", // optional => default = 1 minute 8 continueAfterExecution: false, // optional => default = true 9 directoryChangedScripts: { 10 parallel: true, // optional => default = false 11 options: [ 12 { 13 script: "yarn build-client", // Can be a function or a shell script. 14 directories: ["client", "./package.json"], // Directories to compare with, using https://www.npmjs.com/package/folder-hash 15 }, 16 { 17 script: "yarn build-api", 18 directories: ["api", "./package.json"], 19 }, 20 ], 21 }, 22});
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
9 existing vulnerabilities detected
Details
Reason
Found 0/12 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
license file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Score
Last Scanned on 2025-07-14
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More