Skip to content

Commit 919029c

Browse files
committed
šŸ’š [Debug] Try updating npm on Windows without updating the environment variable $PATH
1 parent f91802d commit 919029c

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

ā€Ž.github/workflows/ci.yamlā€Ž

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -201,11 +201,11 @@ jobs:
201201
shell: bash
202202
run: |
203203
npm install --global --force 'npm@${{ env.required-npm-version }}'
204-
if [[ '${{ runner.os }}' == 'Windows' ]]; then
205-
# Windows installs global packages to a directory that has lower priority than the default node install so we also need to edit $PATH
206-
# see https://github.com/vercel/turbo/pull/1632/files#diff-b92a3120126a9ffe46d7d5ec3a8496ef1eac951db09e1972fac7c78438e36c42R69
207-
npm config get prefix >> "${GITHUB_PATH}"
208-
fi
204+
# if [[ '${{ runner.os }}' == 'Windows' ]]; then
205+
# # Windows installs global packages to a directory that has lower priority than the default node install so we also need to edit $PATH
206+
# # see https://github.com/vercel/turbo/pull/1632/files#diff-b92a3120126a9ffe46d7d5ec3a8496ef1eac951db09e1972fac7c78438e36c42R69
207+
# npm config get prefix >> "${GITHUB_PATH}"
208+
# fi
209209
210210
- name: Show node and npm version
211211
shell: bash

0 commit comments

Comments
Ā (0)
⚔