Skip to content

Commit 0de8a4e

Browse files
FadySamirSadekevenstensberg
authored andcommitted
feat: use npm ci for tests (#367) (#368)
* 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
1 parent 7d2e8d9 commit 0de8a4e

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.appveyor.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ build: off
1212

1313
install:
1414
- ps: Install-Product node $env:nodejs_version $env:platform
15-
- npm install
15+
- npm i -g npm
16+
- npm ci
1617
- npm install --global codecov
1718
- npm install eslint-plugin-node@latest --save-dev
1819

.travis.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,11 @@ sudo: false
2222
notifications:
2323
email: false
2424

25+
before_install:
26+
- npm i -g npm
27+
2528
install:
26-
- npm install
29+
- npm ci
2730
- npm install --global codecov
2831
- npm install --global eslint
2932

@@ -33,4 +36,4 @@ before_script:
3336

3437
script:
3538
- npm run travis:$JOB_PART
36-
- commitlint-travis
39+
- commitlint-travis

0 commit comments

Comments
 (0)