Skip to content

Commit

Permalink
fix: use npm ci
Browse files Browse the repository at this point in the history
  • Loading branch information
jpoon committed May 3, 2018
1 parent 3f54fc1 commit d643260
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ os:
language: node_js

node_js:
- 8
- "node"

env:
global:
Expand All @@ -34,7 +34,11 @@ before_install:
sh -e /etc/init.d/xvfb start;
sleep 3;
fi
-
- npm i -g npm@latest

install:
- npm ci

script:
- npm run forceprettier
- if [[ $(git diff-index HEAD -- *.ts *.js) ]]; then
Expand Down

0 comments on commit d643260

Please sign in to comment.