Merge pull request #437 from ojaha065/dependabot/npm_and_yarn/multi-e… #282
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: "Run ESLint" | |
on: | |
push: | |
branches: | |
- develop | |
pull_request: | |
branches: | |
- main | |
jobs: | |
eslint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "20" | |
check-latest: true | |
cache: "npm" | |
- name: npm | |
run: npm install -D --no-audit --no-fund | |
- name: lint | |
run: npm run lint |