Skip to content
This repository has been archived by the owner on Oct 29, 2023. It is now read-only.

Commit

Permalink
Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Noel committed Dec 30, 2020
1 parent 9008ae2 commit 5e84380
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 1 deletion.
43 changes: 43 additions & 0 deletions .github/workflows/ESLint.yml
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
1 change: 0 additions & 1 deletion .github/workflows/Node.yml

This file was deleted.

0 comments on commit 5e84380

Please sign in to comment.