kqito / node-actionlint

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

License:MIT License


Languages

Language:TypeScript 42.7%Language:JavaScript 39.7%Language:Go 15.1%Language:Makefile 2.5%