build: switch to pnpm #4
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: 'CI' | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Node setup | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22 | |
| - uses: pnpm/action-setup@v4 | |
| with: | |
| version: 10.32.1 | |
| - run: pnpm install --frozen-lockfile | |
| - name: Build library | |
| run: pnpm build:lib | |
| - name: Build playground | |
| run: pnpm build | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Node setup | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22 | |
| - uses: pnpm/action-setup@v4 | |
| with: | |
| version: 10.28.0 | |
| - run: pnpm install --frozen-lockfile | |
| - name: Test library | |
| run: pnpm test:lib:headless |