This repository has been archived by the owner on Oct 29, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Noel
committed
Dec 30, 2020
1 parent
9008ae2
commit 5e84380
Showing
2 changed files
with
43 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: ESLint | ||
on: | ||
push: | ||
pull_request: | ||
branches: | ||
- 'feature/**' | ||
- 'issue/**' | ||
- 'master' | ||
paths-ignore: | ||
- 'examples/**' | ||
- '.github/**' | ||
- '.vscode/**' | ||
- 'docs/**' | ||
- '.eslintiginore' | ||
- '.gitignore' | ||
- '.npmignore' | ||
- '.travis.yml' | ||
- 'LICENSE' | ||
- '**.md' | ||
- 'renovate.json' | ||
jobs: | ||
eslint: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [10.x, 11.x, 12.x, 13.x, 14.x, 15.x] | ||
steps: | ||
- name: Checkout the repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Uses Node.js v${{ matrix.node-version }} | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: Installs dependencies | ||
run: npm i -g eslint && npm ci | ||
|
||
- name: Lints the repository | ||
run: npm run lint | ||
|
||
- name: Runs Jest for unit testing | ||
run: npm test |
This file was deleted.
Oops, something went wrong.