mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-05 03:47:12 +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:
|
node_js:
|
||||||
- "8"
|
- "8"
|
||||||
- "6"
|
- "6"
|
||||||
|
cache:
|
||||||
|
yarn: true
|
||||||
|
directories:
|
||||||
|
- node_modules
|
||||||
install:
|
install:
|
||||||
- yarn install
|
- yarn install
|
||||||
- yarn run build
|
- yarn run build
|
||||||
|
@ -4,6 +4,10 @@ environment:
|
|||||||
- nodejs_version: "6"
|
- nodejs_version: "6"
|
||||||
- nodejs_version: "8"
|
- nodejs_version: "8"
|
||||||
|
|
||||||
|
cache:
|
||||||
|
- "%LOCALAPPDATA%\\Yarn"
|
||||||
|
- node_modules
|
||||||
|
|
||||||
# Install scripts. (runs after repo cloning)
|
# Install scripts. (runs after repo cloning)
|
||||||
install:
|
install:
|
||||||
# Get the latest stable version of Node.js or io.js
|
# Get the latest stable version of Node.js or io.js
|
||||||
|
Loading…
Reference in New Issue
Block a user