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