Skip to content

Commit 1b6b156

Browse files
committed
Add pnpm to main action
1 parent 4951bf2 commit 1b6b156

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/instructions/workflows.instructions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ applyTo: ".github/workflows/*.yaml"
2424
- Linux tests require Xvfb for display: `/usr/bin/Xvfb :99 -screen 0 1024x768x24`
2525
- Set `DISPLAY: ":99.0"` environment variable for tests on Linux
2626
- Tests run via `npm test`
27+
- Include `pnpm/action-setup@v4` in test jobs - some test fixtures use `packageManager: pnpm` to verify pnpm compatibility
2728

2829
## Permissions
2930

.github/workflows/main.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ jobs:
2828
- uses: actions/setup-node@v6
2929
with:
3030
node-version-file: ".nvmrc"
31+
# pnpm is needed for test fixtures that use packageManager: pnpm
32+
- uses: pnpm/action-setup@v4
33+
with:
34+
version: 10
3135

3236
- run: /usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & echo "Started xvfb"
3337
shell: bash

0 commit comments

Comments
 (0)