Skip to content

Commit 193997a

Browse files
committed
ci: pnpm env use can only be used with --global
1 parent 6082f1d commit 193997a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test.reusable.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
for version in ${{ inputs.node_versions }}; do
4848
echo '{ "type": "module" }' >package.json
4949
echo "Testing on Node.js version $version"
50-
pnpm env use ${version}
50+
pnpm env use --global ${version}
5151
node -v
5252
if [ -n "$NPM_DEPS" ] || [ -n "$JSR_DEPS" ]; then
5353
pnpm add $NPM_DEPS $JSR_DEPS

0 commit comments

Comments
 (0)