This repository has been archived by the owner on Oct 29, 2023. It is now read-only.
Update dependency eslint to v8 #2001
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
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: [14.x, 15.x, 16.x] | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v3 | |
- name: Uses Node.js v${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Installs dependencies | |
run: npm i -g eslint && yarn | |
- name: Lints the repository | |
run: yarn lint | |
- name: Check if project can be compiled | |
run: tsc --noEmit | |
- name: Runs Jest for unit testing | |
run: yarn test |