Skip to content

Bump pnpm/action-setup from 5 to 6.0.9 #57

Bump pnpm/action-setup from 5 to 6.0.9

Bump pnpm/action-setup from 5 to 6.0.9 #57

Workflow file for this run

name: Build and deploy
on:
push:
branches:
- main
tags:
- v*
paths-ignore:
- CONTRIBUTING.md
- LICENSE
- README.md
pull_request:
concurrency:
group: pages
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v7
- uses: pnpm/action-setup@v6.0.9
with:
version: 11
package_json_file: package.json
- uses: actions/setup-node@v7
with:
node-version: 24
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm exec playwright install --with-deps chromium
- run: pnpm run build
- run: pnpm run lint
- run: pnpm run test
- if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: actions/configure-pages@v6
- if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: actions/upload-pages-artifact@v5
with:
path: build
deploy:
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
needs: build
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v5