Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.

Commit bca1dfe

Browse files
committed
ci: update configuration to use new CircleCI docker images
1 parent c928beb commit bca1dfe

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

.circleci/config.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,19 @@
1414
# **NOTE 1**: Pin to exact images using an ID (SHA). See https://circleci.com/docs/2.0/circleci-images/#using-a-docker-image-id-to-pin-an-image-to-a-fixed-version.
1515
# (Using the tag in not necessary when pinning by ID, but include it anyway for documentation purposes.)
1616
# **NOTE 2**: If you change the version of the docker images, also change the `cache_key` suffix.
17-
var_1: &docker_image circleci/node:12.9-browsers
18-
var_2: &cache_key v1-nguniversal-{{ checksum "yarn.lock" }}-{{ checksum "WORKSPACE" }}-node-12.9
17+
var_1: &docker_image cimg/node:12.18
18+
var_2: &cache_key angular_universal-{{ checksum "yarn.lock" }}-{{ checksum "WORKSPACE" }}-node-12.9
1919

2020
# Workspace initially persisted by the `setup` job.
2121
# https://circleci.com/docs/2.0/workflows/#using-workspaces-to-share-data-among-jobs
2222
# https://circleci.com/blog/deep-diving-into-circleci-workspaces/
23-
var_5: &workspace_location ~/
23+
var_5: &workspace_location .
2424

2525
version: 2.1
2626

27+
orbs:
28+
browser-tools: circleci/[email protected]
29+
2730
# Executor Definitions
2831
# https://circleci.com/docs/2.0/reusing-config/#authoring-reusable-executors
2932
executors:
@@ -66,10 +69,7 @@ jobs:
6669
- persist_to_workspace:
6770
root: *workspace_location
6871
paths:
69-
- ng
70-
- .cache/yarn
71-
- bazel_repository_cache
72-
- bazel_disk_cache
72+
- ./*
7373

7474
build:
7575
executor: action-executor
@@ -88,7 +88,7 @@ jobs:
8888
- persist_to_workspace:
8989
root: *workspace_location
9090
paths:
91-
- ng/dist
91+
- ./*
9292

9393
lint:
9494
executor: action-executor
@@ -115,6 +115,7 @@ jobs:
115115
executor: action-executor
116116
steps:
117117
- custom_attach_workspace
118+
- browser-tools/install-chrome
118119
# Run a step to setup an environment variable.
119120
- run:
120121
name: "Setup custom environment variables"

0 commit comments

Comments
 (0)