feat: use pnpm catalogs and update playgrounds #3167
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: Build | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - 'packages/**' | |
| pull_request: | |
| paths: | |
| - 'packages/**' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v5 | |
| - name: Setup (Install node & pnpm) | |
| uses: ./.github/actions/setup | |
| - name: Build | |
| run: pnpm --filter reka-ui build | |
| - name: Check for errors | |
| run: | | |
| if [ $? -eq 0 ]; then | |
| echo "Build succeeded" | |
| else | |
| echo "Build failed" | |
| exit 1 | |
| fi | |
| test: | |
| needs: build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v5 | |
| - name: Setup (Install node & pnpm) | |
| uses: ./.github/actions/setup | |
| - name: Test | |
| run: pnpm test |