Skip to content

Commit 132bdf5

Browse files
committed
ci: revert to global npm install for pkglab
pnpm doesn't install platform-specific optional deps (pkglab-linux-x64) for workspace devDeps. npm install -g handles this correctly.
1 parent bc50659 commit 132bdf5

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/actions/init-blacksmith/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@ runs:
119119
run: pnpm install
120120
shell: bash
121121

122-
- name: Add node_modules/.bin to PATH
123-
run: echo "${{ github.workspace }}/node_modules/.bin" >> $GITHUB_PATH
122+
- name: Install pkglab
123+
run: npm install -g pkglab@0.12.0
124124
shell: bash
125125

126126
- name: Get Playwright Version

.github/actions/init/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@ runs:
119119
run: pnpm install
120120
shell: bash
121121

122-
- name: Add node_modules/.bin to PATH
123-
run: echo "${{ github.workspace }}/node_modules/.bin" >> $GITHUB_PATH
122+
- name: Install pkglab
123+
run: npm install -g pkglab@0.12.0
124124
shell: bash
125125

126126
- name: Get Playwright Version

0 commit comments

Comments
 (0)