Package detail

@tktco/node-actionlint

This is a fork of sosukesuzuki/node-actionlint.

readme

node-actionlint

This is a fork of sosukesuzuki/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