File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ cat << "EOF"
131131 - .\scripts\choco-install.ps1
132132 - refreshenv
133133 - npm install --ignore-scripts
134- - $env:Path = "$(npm bin) ;" + $env:Path
134+ - $env:Path = "$(npm root)\.bin ;" + $env:Path
135135 - npm test -- --ci --coverage --shard="$CI_NODE_INDEX/$CI_NODE_TOTAL" --maxWorkers=50%
136136 artifacts:
137137 when: always
@@ -159,7 +159,7 @@ cat << "EOF"
159159 - ./scripts/brew-install.sh
160160 - hash -r
161161 - npm install --ignore-scripts
162- - export PATH="$(npm bin) :$PATH"
162+ - export PATH="$(npm root)/.bin :$PATH"
163163 - npm test -- --ci --coverage --shard="$CI_NODE_INDEX/$CI_NODE_TOTAL" --maxWorkers=50%
164164 artifacts:
165165 when: always
Original file line number Diff line number Diff line change 3535 mkdir --parents "$(pwd)/tmp"
3636
3737 # Built executables and NPM executables
38- export PATH="$(pwd)/dist/bin:$(npm bin) :$PATH"
38+ export PATH="$(pwd)/dist/bin:$(npm root)/.bin :$PATH"
3939
4040 npm install --ignore-scripts
4141
You can’t perform that action at this time.
0 commit comments