chore(deps): update dependency oxlint to v1.72.0 #844
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: Unit Test | |
| on: | |
| push: | |
| pull_request: | |
| permissions: | |
| contents: read | |
| id-token: write | |
| jobs: | |
| linter-and-unit: | |
| name: Unit test | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: | |
| - 22 | |
| - 24 | |
| - 26 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v6 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: pnpm | |
| - name: Install Deps | |
| run: pnpm ci | |
| - name: Build project | |
| run: pnpm run build | |
| - name: Unit test and save results | |
| env: | |
| TEST_REPORT: ${{ matrix.node-version == 24 && 'true' || '' }} | |
| run: pnpm run test | |
| - name: Upload test results | |
| if: ${{ !cancelled() && matrix.node-version == 24 }} | |
| uses: codecov/codecov-action@v6 | |
| with: | |
| use_oidc: true | |
| files: ./coverage/test-report.junit.xml | |
| report_type: test_results | |
| - name: Upload coverage | |
| if: ${{ !cancelled() && matrix.node-version == 24 }} | |
| uses: codecov/codecov-action@v6 | |
| with: | |
| use_oidc: true |