Skip to content

Commit

Permalink
ci: fix travis
Browse files Browse the repository at this point in the history
Signed-off-by: Rifa Achrinza <[email protected]>
  • Loading branch information
achrinza committed Nov 24, 2021
1 parent f12ee24 commit c3a9ebd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@ node_js:
- 16
before_install: |
NODEJS_VERSION=$(node --version)
if ['v10' == $(NODEJS_VERSION%%.* ]
if [ 'v10' == ${NODEJS_VERSION%%.*} ]
then
npm install --global npm@7
else
npm install --global npm@8
fi
script:
- npm run --ignore-scripts build
- npm test --ignore-scripts

0 comments on commit c3a9ebd

Please sign in to comment.