Update @playwright/test and vitest
#1378
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: Deploy site | |
| on: push | |
| jobs: | |
| deploy-site: | |
| name: Deploy site | |
| runs-on: ubuntu-latest | |
| env: | |
| CI: true | |
| steps: | |
| - name: Checkout Repo | |
| uses: actions/checkout@v6 | |
| - name: Set up PNPM | |
| uses: pnpm/action-setup@v4 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version-file: '.nvmrc' | |
| cache: 'pnpm' | |
| - name: Install Dependencies | |
| run: pnpm install | |
| - name: Build packages | |
| run: pnpm run build | |
| - name: Build site | |
| run: pnpm --filter "./site" build | |
| - name: Draft deploy site to Netlify | |
| run: pnpm --filter "./site" deploy:branch | |
| if: github.ref != 'refs/heads/master' | |
| env: | |
| NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
| - name: Deploy site to Netlify | |
| run: pnpm --filter "./site" deploy:prod | |
| if: github.ref == 'refs/heads/master' | |
| env: | |
| NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} |