chore: update ESLint configuration, upgrade dependencies, and fix lint errors #1496
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: ci | |
| on: | |
| pull_request: | |
| paths-ignore: | |
| - '*.md' | |
| jobs: | |
| build_and_test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [20.x] | |
| name: Node ${{ matrix.node }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup node ${{ matrix.node-version }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| cache: 'npm' | |
| node-version: ${{ matrix.node-version }} | |
| - name: install | |
| run: npm ci | |
| - name: build | |
| run: npm run nx -- run-many -t build --skip-nx-cache --parallel=false | |
| - name: test | |
| run: npm run nx -- run-many -t test --skip-nx-cache --parallel=false | |
| # Code PushUp command | |
| - name: Collect and upload Code PushUp report | |
| run: npx code-pushup autorun | |
| env: | |
| CP_API_KEY: ${{ secrets.CP_API_KEY }} | |
| NODE_OPTIONS: --max-old-space-size=8192 | |
| - name: Save report files as workflow artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: code-pushup-report | |
| path: .code-pushup/ |