Update pnpm to v10.5.0 #722
This file contains 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: playwright tests | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 60 | |
steps: | |
- name: 🛎️ Checkout | |
uses: actions/checkout@v4 | |
- name: 📦 Install pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
version: 10.2.1 | |
run_install: false | |
- name: 🐧 Setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22.13.1 | |
registry-url: https://registry.npmjs.org/ | |
cache: pnpm | |
- name: 🔍 Install dependencies | |
run: pnpm install --frozen-lockfile --ignore-scripts | |
- name: 🔍 Install Playwright browsers | |
run: pnpm exec playwright install --with-deps | |
- name: 🎭 Run tests | |
run: pnpm exec playwright test |