parent
81d497ce1f
commit
add3589451
|
@ -13,7 +13,7 @@ anchor_1: &job_defaults
|
|||
docker:
|
||||
## IMPORTANT
|
||||
# If you change this, also change the version of com_github_bazelbuild_buildtools
|
||||
# in the /WORKSPACE file
|
||||
# in the /WORKSPACE file and the cache keys below
|
||||
- image: angular/ngcontainer:0.0.8
|
||||
## IMPORTANT
|
||||
|
||||
|
@ -36,7 +36,7 @@ jobs:
|
|||
(echo "BUILD files not formatted. Please run ''yarn buildifier''" ; exit 1)'
|
||||
|
||||
- restore_cache:
|
||||
key: angular-{{ .Branch }}-{{ checksum "yarn.lock" }}
|
||||
key: angular-{{ .Branch }}-{{ checksum "yarn.lock" }}-0.0.8
|
||||
|
||||
- run: yarn install --frozen-lockfile --non-interactive
|
||||
- run: ./node_modules/.bin/gulp lint
|
||||
|
@ -47,13 +47,13 @@ jobs:
|
|||
- checkout:
|
||||
<<: *post_checkout
|
||||
- restore_cache:
|
||||
key: angular-{{ .Branch }}-{{ checksum "yarn.lock" }}
|
||||
key: angular-{{ .Branch }}-{{ checksum "yarn.lock" }}-0.0.8
|
||||
- run: bazel info release
|
||||
- run: bazel run @yarn//:yarn
|
||||
- run: bazel build --config=ci packages/...
|
||||
- run: bazel test --config=ci packages/... @angular//...
|
||||
- save_cache:
|
||||
key: angular-{{ .Branch }}-{{ checksum "yarn.lock" }}
|
||||
key: angular-{{ .Branch }}-{{ checksum "yarn.lock" }}-0.0.8
|
||||
paths:
|
||||
- "node_modules"
|
||||
|
||||
|
|
Loading…
Reference in New Issue