mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-07-05 10:41:03 -04:00
Remove cache from Travis, begin using npm ci
We have thought about moving to use package-lock.json the way NPM suggests, and at the same time have begun having issues with Travis caches. To address both at the same time, remove the cache from Travis, and make up the time by moving to package-lock.json + npm ci for install.
This commit is contained in:
parent
e90b344b15
commit
755cdd98e5
3 changed files with 16051 additions and 6 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -2,7 +2,6 @@
|
|||
.DS_Store
|
||||
|
||||
# NPM
|
||||
package-lock.json
|
||||
/node_modules
|
||||
npm-*
|
||||
|
||||
|
|
|
@ -8,13 +8,10 @@ env:
|
|||
matrix:
|
||||
- NPM_SCRIPT="tap:unit -- --jobs=4"
|
||||
- NPM_SCRIPT="tap:integration -- --jobs=4"
|
||||
sudo: false
|
||||
cache:
|
||||
directories:
|
||||
- node_modules
|
||||
install:
|
||||
- npm --production=false install
|
||||
- npm --production=false update
|
||||
- "$HOME/.npm"
|
||||
install: npm ci
|
||||
script: npm run $NPM_SCRIPT
|
||||
jobs:
|
||||
include:
|
||||
|
|
16049
package-lock.json
generated
Normal file
16049
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue