2.7.0 • Published 5 years ago

github-actions-linter v2.7.0

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

GitHubActions.js CircleCI

Provides linting APIs on the command line, through Node.js, and rich code editing through VSCode.

Using the NPM Package

https://www.npmjs.com/package/github-actions-linter

Add the package through npm/yarn:

$ npm i github-actions-linter
$ yarn add github-actions-linter

Run linter through Node.js:

import { lint } from "github-actions-linter";

const diagnostics = lint(code);
console.log(diagnostics.length + " errors were found.");

diagnostics.forEach(diagnostic => {
  console.log(diagnostic.message);
});

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:

image

2.7.0

5 years ago

2.6.1

5 years ago

2.6.0

5 years ago

2.5.0

5 years ago

2.4.0

5 years ago

2.3.0

5 years ago

2.2.0

5 years ago

2.1.0

5 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.4.0

5 years ago

1.3.0

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.0

5 years ago

0.0.6

5 years ago

0.0.1

5 years ago