Merge pull request #350 from ojaha065/dependabot/npm_and_yarn/develop… #213
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@v3 | |
with: | |
node-version: "18" | |
check-latest: true | |
cache: "npm" | |
- name: npm | |
run: npm install --no-audit --no-fund --only=dev | |
- name: lint | |
run: npm run lint |