Skip to content

Commit 68adf04

Browse files
committed
ci(npm): use npm ci
1 parent 6e6261d commit 68adf04

7 files changed

Lines changed: 7168 additions & 8 deletions

File tree

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,3 @@ node_modules/
33
out/
44
coverage/
55
.nyc_output/
6-
package-lock.json

.npmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

.prettierignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1-
package.json
1+
.nyc_output/
2+
coverage/
23
out/
4+
package-lock.json
5+
package.json

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ php:
66
env:
77
global:
88
- NODE_VERSION=7.9.0
9-
- NPM_VERSION=^5.0.0
9+
- NPM_VERSION=^5.7.1
1010
- BUILD_LEADER_ID=4
1111
- GITHUB_TOKEN=$GH_TOKEN
1212
matrix:
@@ -26,7 +26,7 @@ before_install:
2626
- npm install -g npm@$NPM_VERSION --depth 0
2727

2828
install:
29-
- npm install
29+
- npm ci
3030

3131
script:
3232
- npm run build
@@ -61,7 +61,7 @@ jobs:
6161
node_js: '8'
6262
before_install: skip
6363
install:
64-
- npm install
64+
- npm ci
6565
script:
6666
- npm run build
6767
- npm run semantic-release

appveyor-install.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,4 @@ npm config -g set unicode=false
4949

5050
# Install dependencies
5151
Write-Output 'Installing dependencies'
52-
npm install
52+
npm ci

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ cache:
1313

1414
environment:
1515
NODE_VERSION: '7.9.0'
16-
NPM_VERSION: '^5.0.0'
16+
NPM_VERSION: '^5.7.1'
1717
matrix:
1818
- {PHP_VERSION: '7.0.20', VC_VERSION: '14', XDEBUG_VERSION: '2.5.5'}
1919
- {PHP_VERSION: '5.6.30', VC_VERSION: '11', XDEBUG_VERSION: '2.5.5'}

0 commit comments

Comments
 (0)