/node-actionlint

Run actionlint from Node.js

Primary LanguageTypeScriptMIT LicenseMIT

node-actionlint

Run rhysd/actionlint from Node.js.

Most parts of main.go are reused from rhysd/actionlint/playground/main.go.

CLI Usage

$ npm install --save-dev node-actionlint
$ ./node_modules/.bin/node-actionlint

JavaScript Usage

However, the main purpose of this package is to be used with the CLI.

const { runActionLint } = require("node-actionlint");

(async () => {
  const results = await runActionLint(source, path);
})();

Development

Release

$ npm run release -- --release=patch