Merge pull request #3963 from Northeastern-Electric-Racing/new-projec… #10113
This file contains hidden or 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: Linting Check | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - develop | |
| pull_request: | |
| branches: | |
| - main | |
| - develop | |
| - 'feature/**' | |
| jobs: | |
| run-linting-check: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: 20.18.1 | |
| cache: 'yarn' | |
| - name: Install modules | |
| run: yarn install && yarn prisma:generate | |
| - name: Run linting check | |
| run: yarn lint --max-warnings=0 |