The way of the prince #451
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: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
schedule: | |
- cron: '18 8 * * 6' | |
jobs: | |
eslint: | |
name: Run ESLint scanning | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
security-events: write | |
actions: read | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
working-directory: Scrum/Working | |
run: npm install | |
- name: Run ESLint | |
working-directory: Scrum/Working | |
run: | | |
npx eslint . --fix | |
continue-on-error: false |