Update dependency @types/node to v20.17.10 #1182
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: | |
branches: | |
- 'master' | |
paths-ignore: | |
- '.github/**' | |
- '.vscode/**' | |
- 'examples/' | |
- 'docs/' | |
- '.eslintignore' | |
- '.gitignore' | |
- '**.md' | |
- 'LICENSE' | |
- 'package.json' | |
- 'renovate.json' | |
- 'tsconfig.json' | |
pull_request: | |
branches: | |
- 'feature/**' | |
- 'issue/**' | |
- 'master' | |
paths-ignore: | |
- '.github/**' | |
- '.vscode/**' | |
- 'examples/' | |
- 'docs/' | |
- '.eslintignore' | |
- '.gitignore' | |
- '**.md' | |
- 'LICENSE' | |
- 'package.json' | |
- 'renovate.json' | |
- 'tsconfig.json' | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [14.x, 15.x, 16.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 ESLint globally | |
run: npm i -g eslint | |
- name: Installs all local dependencies | |
run: npm ci | |
- name: Lints the repository for any code-checking errors | |
run: eslint src --ext .ts --fix | |
- name: Build the project for any errors | |
run: tsc --noEmit |