Remove nextra #2
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: Test | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- name: Setup PNPM | |
uses: pnpm/action-setup@v2 | |
with: | |
version: '9.4.0' | |
- name: Install dependencies | |
run: pnpm install | |
- name: Build project | |
run: pnpm build | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
needs: build | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- name: Setup PNPM | |
uses: pnpm/action-setup@v2 | |
with: | |
version: '9.4.0' | |
- name: Install dependencies | |
run: pnpm install | |
- name: Run tests with coverage | |
run: pnpm test:coverage | |
- name: Upload coverage reports | |
uses: actions/upload-artifact@v4 | |
with: | |
name: coverage-report | |
path: packages/clover/coverage/ | |
retention-days: 30 |