File tree Expand file tree Collapse file tree 4 files changed +4772
-1
lines changed
Expand file tree Collapse file tree 4 files changed +4772
-1
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,13 @@ node_js:
1717
1818sudo : false
1919
20+ install :
21+ # Ignore package-lock.json. This is done for a few reasons:
22+ # - To test against current versions of dependencies.
23+ # - To test installability for dependents (doesn't use package-lock.json).
24+ - rm -f package-lock.json
25+ - npm install
26+
2027script :
2128 - npm run test-cov
2229
Original file line number Diff line number Diff line change @@ -20,6 +20,10 @@ environment:
2020install :
2121 - ps : Install-Product node $env:nodejs_version
2222 - npm -g install "npm@%npm_version%"
23+ # Ignore package-lock.json. This is done for a few reasons:
24+ # - To test against current versions of dependencies.
25+ # - To test installability for dependents (doesn't use package-lock.json).
26+ - if exist package-lock.json del package-lock.json
2327 - npm install
2428
2529test_script :
You can’t perform that action at this time.
0 commit comments