chore(deps): update vitest monorepo to v2 (major) - autoclosed #221
Workflow file for this run
This file contains 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: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: latest | |
- name: Install pnpm | |
uses: pnpm/action-setup@v2.4.0 | |
with: | |
version: latest | |
- name: Install | |
run: pnpm install --no-frozen-lockfile | |
- name: Lint | |
run: pnpm run lint | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: latest | |
- name: Install pnpm | |
uses: pnpm/action-setup@v2.4.0 | |
with: | |
version: latest | |
- name: Install | |
run: pnpm install --no-frozen-lockfile | |
- name: Build | |
run: pnpm run build | |
- name: Test | |
run: pnpm run test | |
coverage: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: latest | |
- name: Install pnpm | |
uses: pnpm/action-setup@v2.4.0 | |
with: | |
version: latest | |
- name: Install | |
run: pnpm install --no-frozen-lockfile | |
- name: Coverage | |
run: pnpm run coverage | |
typecheck: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: latest | |
- name: Install pnpm | |
uses: pnpm/action-setup@v2.4.0 | |
with: | |
version: latest | |
- name: Install | |
run: pnpm install --no-frozen-lockfile | |
- name: Typecheck | |
run: pnpm run typecheck |