ci: freeze yarn lockfile when installing dependencies (#19616)
PR Close #19616
This commit is contained in:
parent
afa2bb246b
commit
566606ef46
@ -29,7 +29,7 @@ jobs:
|
|||||||
- restore_cache:
|
- restore_cache:
|
||||||
key: angular-{{ .Branch }}-{{ checksum "yarn.lock" }}
|
key: angular-{{ .Branch }}-{{ checksum "yarn.lock" }}
|
||||||
|
|
||||||
- run: yarn install
|
- run: yarn install --freeze-lockfile --non-interactive
|
||||||
- run: ./node_modules/.bin/gulp lint
|
- run: ./node_modules/.bin/gulp lint
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
@ -37,7 +37,7 @@ travisFoldEnd "install-yarn"
|
|||||||
|
|
||||||
# Install all npm dependencies according to yarn.lock
|
# Install all npm dependencies according to yarn.lock
|
||||||
travisFoldStart "yarn-install"
|
travisFoldStart "yarn-install"
|
||||||
node tools/npm/check-node-modules --purge || yarn install
|
node tools/npm/check-node-modules --purge || yarn install --freeze-lockfile --non-interactive
|
||||||
travisFoldEnd "yarn-install"
|
travisFoldEnd "yarn-install"
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user