Update lint.yml #11
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] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 # Updated to v3 | |
- name: ESLint | |
uses: actions/setup-node@v3 # Updated to v3 | |
with: | |
node-version: '16' # Update to a non-deprecated version (Node 16 or later) | |
- run: npm ci | |
- run: npm run eslint |