Skip to content

Commit b18ba7d

Browse files
committed
CI: Prospective fix for npm publishing part 3
Set up pnpm like we do in the other steps, as the setup-node step fails to locate pnpm.
1 parent 47c7407 commit b18ba7d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/publish_npm_package.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ jobs:
2727
PKG_VERSION: ${{ steps.mkversion.outputs.PKG_VERSION }}
2828
steps:
2929
- uses: actions/checkout@v5
30+
- uses: pnpm/[email protected]
31+
with:
32+
version: 10.14.0
3033
- uses: actions/setup-node@v5
3134
- name: Determine version
3235
id: mkversion
@@ -85,6 +88,9 @@ jobs:
8588
- uses: ./.github/actions/setup-rust
8689
with:
8790
target: ${{ matrix.rust-target }}
91+
- uses: pnpm/[email protected]
92+
with:
93+
version: 10.14.0
8894
# Setup .npmrc file to publish to npm
8995
- uses: actions/setup-node@v5
9096
with:
@@ -143,6 +149,9 @@ jobs:
143149
- uses: actions/checkout@v5
144150
- uses: ./.github/actions/install-linux-dependencies
145151
- uses: ./.github/actions/setup-rust
152+
- uses: pnpm/[email protected]
153+
with:
154+
version: 10.14.0
146155
# Setup .npmrc file to publish to npm
147156
- uses: actions/setup-node@v5
148157
with:

0 commit comments

Comments
 (0)