Skip to content

Commit 251a21e

Browse files
committed
1 parent d258ce3 commit 251a21e

File tree

5 files changed

+8
-280
lines changed

5 files changed

+8
-280
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,3 @@ node_modules
33
coverage
44
bench/.results
55
types/generated.d.ts
6-
/package-lock.json.md5

.travis.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,16 @@ cache:
1616
directories:
1717
- $HOME/.npm
1818
before_install:
19-
- npm install --global npm@5.6.0
19+
- npm install --global npm@5.8.0
2020
- npm --version
21-
- md5sum package-lock.json > package-lock.json.md5
2221
install: |
2322
if [[ ${FRESH_DEPS} == "true" ]]; then
2423
npm install --no-shrinkwrap --prefer-online;
2524
else
26-
npm install --prefer-offline;
27-
if ! md5sum --quiet -c package-lock.json.md5; then
25+
npm ci;
26+
checksum=$(md5sum package-lock.json);
27+
npm install --package-lock-only;
28+
if ! echo ${checksum} | md5sum --quiet -c -; then
2829
echo "package-lock.json was modified unexpectedly. Please rebuild it using npm@$(npm -v) and commit the changes.";
2930
exit 1;
3031
fi

appveyor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ matrix:
2323
nodejs_version: 6
2424
install:
2525
- ps: Install-Product node $env:nodejs_version
26-
- npm install --global npm@5.6.0
26+
- npm install --global npm@5.8.0
2727
- npm --version
2828
- git config core.symlinks true
2929
- git reset --hard
3030
- if %configuration% == FreshDeps (npm install --no-shrinkwrap --prefer-online)
31-
- if %configuration% == LockedDeps (npm install --prefer-offline)
31+
- if %configuration% == LockedDeps (npm ci)
3232
test_script:
3333
- npm run test-win

0 commit comments

Comments
 (0)