make: prefer-offline installs and upgrade nodejs
This commit is contained in:
parent
76dd5b8634
commit
eda79704ac
@ -14,7 +14,7 @@ machine:
|
|||||||
services:
|
services:
|
||||||
- docker
|
- docker
|
||||||
node:
|
node:
|
||||||
version: 6.9.0
|
version: 6.9.1
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
cache_directories:
|
cache_directories:
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
.PHONY: install
|
.PHONY: install
|
||||||
install:
|
install:
|
||||||
yarn install
|
yarn install --prefer-offline
|
||||||
|
|
||||||
.PHONY: install-production
|
.PHONY: install-production
|
||||||
install-production:
|
install-production:
|
||||||
yarn install --production --pure-lockfile
|
yarn install --production --pure-lockfile --prefer-offline
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
.PHONY: install
|
.PHONY: install
|
||||||
install:
|
install:
|
||||||
yarn install
|
yarn install --prefer-offline
|
||||||
|
|
||||||
.PHONY: install-production
|
.PHONY: install-production
|
||||||
install-production: compile clean
|
install-production: compile clean
|
||||||
yarn install --production --pure-lockfile
|
yarn install --production --pure-lockfile --prefer-offline
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
|
@ -4,11 +4,11 @@ test:
|
|||||||
|
|
||||||
.PHONY: install
|
.PHONY: install
|
||||||
install:
|
install:
|
||||||
yarn install
|
yarn install --prefer-offline
|
||||||
|
|
||||||
.PHONY: install-production
|
.PHONY: install-production
|
||||||
install-production:
|
install-production:
|
||||||
yarn install --production --pure-lockfile
|
yarn install --production --pure-lockfile --prefer-offline
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
|
Loading…
Reference in New Issue
Block a user