Skip to content

Commit d3454e9

Browse files
committed
chore: update install command
1 parent 9c33972 commit d3454e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ os:
2424
before_install:
2525
# prevents windows error: npm ERR! ... git-sh-setup: file not found
2626
- if [ "$TRAVIS_OS_NAME" = "windows" ]; then export PATH=/c/PROGRA~1/Git/usr/bin:/c/PROGRA~1/Git/mingw64/libexec/git-core:$PATH ; fi
27-
# workspaces requires npm >= 7
28-
- npm install -g npm@>=7
27+
# workspaces requires npm 7 or later
28+
- npm install -g npm@^7
2929

3030
script: npx nyc -s npm run test:node -- --bail
3131
after_success: npx nyc report --reporter=text-lcov > coverage.lcov && npx codecov

0 commit comments

Comments
 (0)