Skip to content

chore: just 1 worker in ci #400

chore: just 1 worker in ci

chore: just 1 worker in ci #400

Workflow file for this run

name: Snap
env:
CI: true
FORCE_COLOR: 1
PLAYWRIGHT_BROWSERS_PATH: ${{ github.workspace }}/ms-playwright
on:
push:
branches:
- master
paths:
- 'packages/snap/**'
- .github/workflows/snap.yml
- pnpm-lock.yaml
pull_request:
paths:
- 'packages/snap/**'
- .github/workflows/snap.yml
- pnpm-lock.yaml
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: latest
- uses: actions/setup-node@v4
with:
node-version: lts/*
cache: pnpm
- run: pnpm install
- run: pnpm --filter filsnap exec playwright install --with-deps chromium
- run: pnpm -r --filter filsnap run lint
- run: pnpm -r --filter filsnap exec depcheck
- run: pnpm -r --filter filsnap run test
id: tests
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: packages/snap/playwright-report/
retention-days: 30