Skip to content

Commit d500a58

Browse files
committed
Fix Corepack issues in Playwright image
1 parent 84d156d commit d500a58

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/actions/node-setup/action.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,17 @@ inputs:
55
install-dependencies:
66
description: 'Set to false to skip pnpm install (for tooling-only jobs)'
77
default: 'true'
8+
enable-corepack:
9+
description: 'Enable corepack; set false to skip and npm-install pnpm'
10+
default: 'true'
811

912
runs:
1013
using: 'composite'
1114
steps:
1215
- name: 🗃️ Enable corepack
13-
run: corepack enable
16+
if: inputs.enable-corepack == 'true'
17+
run: |
18+
corepack enable
1419
shell: bash
1520

1621
- name: 🎰 Setup Node

.github/workflows/e2e.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ jobs:
3737
3838
- name: 💻 Node setup
3939
uses: ./.github/actions/node-setup
40+
with:
41+
enable-corepack: 'false'
4042

4143
- name: 🎭 E2E setup
4244
uses: ./.github/actions/e2e-setup

0 commit comments

Comments
 (0)