Skip to content

Commit 9c33972

Browse files
committed
chore: update npm on travis
1 parent b7bbedb commit 9c33972

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +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
2729

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

0 commit comments

Comments
 (0)