Skip to content

Commit 06f1e67

Browse files
committed
ci: fix travis
Signed-off-by: Rifa Achrinza <25147899+achrinza@users.noreply.github.com>
1 parent f12ee24 commit 06f1e67

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@ node_js:
1313
- 16
1414
before_install: |
1515
NODEJS_VERSION=$(node --version)
16-
if ['v10' == $(NODEJS_VERSION%%.* ]
16+
if [ 'v10' == ${NODEJS_VERSION%%.*} ]
1717
then
1818
npm install --global npm@7
1919
else
2020
npm install --global npm@8
21+
fi
2122
script:
2223
- npm run --ignore-scripts build
2324
- npm test --ignore-scripts

0 commit comments

Comments
 (0)