Skip to content

Commit

Permalink
feat: use npm ci for tests (webpack#367) (webpack#368)
Browse files Browse the repository at this point in the history
* feat: use npm ci for tests

* fix(npm version): updated npm version to support npm ci

* fix(npm version): removed npm from package.json and package-lock.json
  • Loading branch information
FadySamirSadek authored and anu-007 committed Apr 8, 2018
1 parent cf9e58c commit d742d6f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ build: off

install:
- ps: Install-Product node $env:nodejs_version $env:platform
- npm install
- npm i -g npm
- npm ci
- npm install --global codecov
- npm install eslint-plugin-node@latest --save-dev

Expand Down
7 changes: 5 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,11 @@ sudo: false
notifications:
email: false

before_install:
- npm i -g npm

install:
- npm install
- npm ci
- npm install --global codecov
- npm install --global eslint

Expand All @@ -33,4 +36,4 @@ before_script:

script:
- npm run travis:$JOB_PART
- commitlint-travis
- commitlint-travis

0 comments on commit d742d6f

Please sign in to comment.