Fix US5 E2E breaking CI #694
Workflow file for this run
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: Static Analysis | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20.19.4" | |
| cache: "npm" | |
| cache-dependency-path: "./package-lock.json" | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Run prettier formatter to check formatting | |
| run: | | |
| npm run format-check | |
| - name: Run ESLint for static analysis | |
| run: npm run lint -- --max-warnings=0 |