chore(deps): update dependency vitest to v4 #59
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: Test and lint | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: ["**"] | |
| jobs: | |
| check: | |
| name: Test and lint | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 | |
| - name: Node setup | |
| uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5 | |
| with: | |
| cache-dependency-path: package.json | |
| node-version: "22.x" | |
| cache: "npm" | |
| - run: | | |
| npm ci | |
| npm run build | |
| npx pkg-pr-new publish || "echo 'Failed to publish package - is pkg-pr-new set up?'" | |
| npm run test | |
| npm run typecheck | |
| npm run lint |