mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-04 11:27:13 +00:00
feat: cache dependencies in ci building
This commit is contained in:
parent
f8bc7e2383
commit
0ecdf0622e
@ -2,6 +2,10 @@ language: node_js
|
||||
node_js:
|
||||
- "8"
|
||||
- "6"
|
||||
cache:
|
||||
yarn: true
|
||||
directories:
|
||||
- node_modules
|
||||
install:
|
||||
- yarn install
|
||||
- yarn run build
|
||||
|
@ -4,6 +4,10 @@ environment:
|
||||
- nodejs_version: "6"
|
||||
- nodejs_version: "8"
|
||||
|
||||
cache:
|
||||
- "%LOCALAPPDATA%\\Yarn"
|
||||
- node_modules
|
||||
|
||||
# Install scripts. (runs after repo cloning)
|
||||
install:
|
||||
# Get the latest stable version of Node.js or io.js
|
||||
|
Loading…
Reference in New Issue
Block a user