chore(config): pnpm 11.5.1 (#332) #1219
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 and Deploy π | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| env: | |
| BASE: /${{ github.event.repository.name }}/ | |
| jobs: | |
| build-and-deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout ποΈ | |
| uses: actions/checkout@v6.0.2 | |
| - name: Pnpm π§± | |
| uses: pnpm/action-setup@v6.0.8 | |
| - name: Node.js β | |
| uses: actions/setup-node@v6.4.0 | |
| with: | |
| node-version: node | |
| cache: pnpm | |
| - name: Install π§ | |
| run: pnpm i | |
| - name: Install playwright π | |
| run: pnpm playwright | |
| - name: Test π§ͺ | |
| run: pnpm test | |
| - name: Build π§ | |
| run: | | |
| pnpm build | |
| touch dist/.nojekyll | |
| - name: Deploy π | |
| uses: JamesIves/github-pages-deploy-action@v4.8.0 | |
| if: github.ref == 'refs/heads/main' | |
| with: | |
| folder: dist |