Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sosukesuzuki/node-actionlint
Run actionlint from Node.js
https://github.com/sosukesuzuki/node-actionlint
ci javascript lint webassembly
Last synced: 3 months ago
JSON representation
Run actionlint from Node.js
- Host: GitHub
- URL: https://github.com/sosukesuzuki/node-actionlint
- Owner: sosukesuzuki
- License: mit
- Created: 2021-07-24T02:25:49.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-22T19:00:21.000Z (over 1 year ago)
- Last Synced: 2024-05-02T06:05:43.187Z (8 months ago)
- Topics: ci, javascript, lint, webassembly
- Language: TypeScript
- Homepage:
- Size: 619 KB
- Stars: 18
- Watchers: 2
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# node-actionlint
Run [rhysd/actionlint](https://github.com/rhysd/actionlint) from Node.js.
Most parts of `main.go` are reused from [rhysd/actionlint/playground/main.go](https://github.com/rhysd/actionlint/blob/6cd29e315e578dab938b12db7978749afb07c9b0/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.
```js
const { runActionLint } = require("node-actionlint");(async () => {
const results = await runActionLint(source, path);
})();
```## Development
### Release
```
$ npm run release -- --release=patch
```