chore(deps): update vitest monorepo to v4.1.1 #997
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: Check | |
| on: | |
| push: | |
| jobs: | |
| check: | |
| if: ${{ !startsWith(github.event.head_commit.message, 'release:') }} | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| with: | |
| lfs: true | |
| - name: Restore | |
| uses: ./.github/actions/restore | |
| - name: Audit | |
| continue-on-error: true | |
| run: pnpm audit | |
| - name: Format | |
| run: pnpm format:check | |
| - name: Lint | |
| run: pnpm lint | |
| - name: Typecheck | |
| run: pnpm typecheck | |
| - name: Test | |
| run: pnpm test:coverage | |
| - name: Build | |
| run: pnpm build | |
| - name: Setup Deno | |
| uses: denoland/setup-deno@667a34cdef165d8d2b2e98dde39547c9daac7282 # v2.0.4 | |
| with: | |
| deno-version-file: .dvmrc | |
| - name: Test Deno | |
| run: | | |
| cd tests/deno | |
| deno test --allow-read --junit-path=../../junit.deno.xml | |
| - name: Setup Bun | |
| uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2 | |
| with: | |
| bun-version-file: .bun-version | |
| - name: Test Bun | |
| run: | | |
| cd tests/bun | |
| bun test --reporter=junit --reporter-outfile=../../junit.bun.xml | |
| - name: Codecov test results | |
| uses: codecov/codecov-action@75cd11691c0faa626561e295848008c8a7dddffe # v5 | |
| with: | |
| report_type: test_results | |
| files: ./junit.xml,./junit.deno.xml,./junit.bun.xml | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| - name: Codecov coverage | |
| uses: codecov/codecov-action@75cd11691c0faa626561e295848008c8a7dddffe # v5 | |
| with: | |
| files: ./coverage/cobertura-coverage.xml | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| - name: Publish dry-run | |
| run: npm pack --dry-run |