-
-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
don't accidentally use the global npx
- Loading branch information
Kelly Selden
committed
Dec 29, 2020
1 parent
3175779
commit f37d90b
Showing
1 changed file
with
6 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,6 +53,12 @@ jobs: | |
# for test cache hits | ||
- run: npm i -g [email protected] | ||
|
||
# don't accidentally use the global npx | ||
- run: rm $(which npx) # /opt/hostedtoolcache/node/10.23.0/x64/bin/npx | ||
- run: rm $(which npx) # /usr/local/bin/npx | ||
# test that we can't find it | ||
- run: '! which npx' | ||
|
||
- run: npm ci | ||
- run: npm run ${{ matrix.test-command }} -- --retries 1 | ||
timeout-minutes: 15 | ||
|