1.0.8 • Published 4 years ago

circleci-api-helper v1.0.8

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

circleci-api-helper

Simplify and help people use the CircleCI API (v2) using node.js

npm version CircleCI tested with jest License: MIT

Add to your node.js project

yarn add circleci-api-helper

Files in CI or local that the helper uses for requests to the CircelCI API (v2)

/utils/circleToken.js (Required)
/utils/projectSlug.js (Required)
/utils/workflowName.js (Required)
/utils/workflowID.js

Examples of these values

circleToken: FAKEGUID3adas23d69e532432d3x1f534852fs52
projectSlug: gh/johnhiggs/circleci-api-helper
workflowName: default-flow

Trigger workflow (auto generates latest workflow ID based off of required values (requires circleToken, projectSlug, & workflowName)

yarn runWorkflow

Simply rerun an existing workflow (set a value to /utils/workflowID.js)

yarn runSpecificWorkflow

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago