Skip to content

Migrate to pnpm

Migrate to pnpm #952

Workflow file for this run

name: "actions"
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
test:
timeout-minutes: 15
env:
SERVER_ENV: local
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- name: cache playwright browsers
id: playwright-cache
uses: actions/cache@v4
with:
path: ~/.cache/ms-playwright
key: playwright-${{ hashFiles('**/package-lock.json') }}
- run: pnpm install --frozen-lockfile
- run: pnpm exec playwright install-deps
- run: npm run build
env:
NODE_OPTIONS: "--max-old-space-size=4096"
- run: pnpm run lint
- run: pnpm run test