GitHubActions.js
Provides linting APIs on the command line, through Node.js, and rich code editing through VSCode.
Using the NPM Package
Add the package through npm/yarn:
$ npm i github-actions-linter$ yarn add github-actions-linter
Run linter through Node.js:
; ;console.logdiagnostics.length + " errors were found."; diagnostics.forEach;
Or invoke through the CLI:
$ github-actions-linter file1.workflow file2.workflow
It will exit cleanly if no errors were found, or with a positive error code (number of errors) if any existed: