fix(release): harden toolkit/react release asset staging #501
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: Pull request | |
| on: pull_request | |
| jobs: | |
| build: | |
| name: Pull request | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '22.x' | |
| - name: Enable Corepack and pnpm | |
| run: | | |
| corepack enable | |
| corepack prepare pnpm@10.29.2 --activate | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: Run linting | |
| run: pnpm run lint | |
| - name: Install Playwright browser for tests | |
| run: pnpm --filter=@ourfuturehealth/react-components exec playwright install --with-deps chromium | |
| - name: Run tests | |
| run: pnpm test |