Skip to content

Commit 2f8d9c7

Browse files
committed
ci: changed npm bin to npm root
1 parent b3052d3 commit 2f8d9c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.gitlab-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ build:windows:
169169
- .\scripts\choco-install.ps1
170170
- refreshenv
171171
- npm install --ignore-scripts
172-
- $env:Path = "$(npm bin);" + $env:Path
172+
- $env:Path = "$(npm root)\.bin;" + $env:Path
173173
- npm test -- --ci --coverage
174174
- npm run bench
175175
artifacts:
@@ -199,7 +199,7 @@ build:macos:
199199
- ./scripts/brew-install.sh
200200
- hash -r
201201
- npm install --ignore-scripts
202-
- export PATH="$(npm bin):$PATH"
202+
- export PATH="$(npm root)/.bin:$PATH"
203203
- npm test -- --ci --coverage
204204
- npm run bench
205205
artifacts:

0 commit comments

Comments
 (0)