Skip to content

Commit 6f40cdb

Browse files
committed
Try deleting the .npmrc file.
1 parent 5e83984 commit 6f40cdb

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/job-compile-and-test.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@ jobs:
2626
with:
2727
node-version: 20
2828

29+
- name: Delete .npmrc file (Windows)
30+
if: runner.os == "Windows"
31+
run: Remove-Item -Path $env:USERPROFILE\.npmrc -Force
32+
33+
- name: Delete .npmrc file (Unix)
34+
if: runner.os != "Windows"
35+
run: rm -f $HOME/.npmrc
36+
2937
- name: Install Dependencies
3038
run: yarn install ${{ inputs.yarn-args }}
3139
working-directory: Extension

0 commit comments

Comments
 (0)