From 474a9331f9f7294d258c1a787ff498cc2d7578e7 Mon Sep 17 00:00:00 2001 From: Caio Pizzol Date: Wed, 13 May 2026 19:10:32 -0300 Subject: [PATCH] chore(ci): install pnpm in demos smoke-test job The contract-templates demo has a predev script (`pnpm --filter superdoc build`) which the smoke-test runner invokes via `npm run dev`. Without pnpm on PATH the predev hook fails with `sh: 1: pnpm: not found` and the demo never starts, so playwright reports `Process from config.webServer was not able to start`. The build job already uses pnpm/action-setup; mirroring it in smoke-test keeps local dev UX intact (predev still works) and unblocks every PR that exercises the demos matrix. --- .github/workflows/ci-demos.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci-demos.yml b/.github/workflows/ci-demos.yml index 1dee047308..47da237ef3 100644 --- a/.github/workflows/ci-demos.yml +++ b/.github/workflows/ci-demos.yml @@ -78,6 +78,8 @@ jobs: ~/.cache/ms-playwright key: demos-workspace-${{ github.sha }} + - uses: pnpm/action-setup@v4 + - name: Run smoke test working-directory: demos/__tests__ run: DEMO=${{ matrix.demo }} npx playwright test