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

Commit b57e4f7

Browse files
committed
chore(ci): add testing against the latest AngularJS 1.8.x release
- update to latest NodeJS image - fix npm and GitHub audit warnings Closes #11930
1 parent 993a1cd commit b57e4f7

File tree

3 files changed

+468
-566
lines changed

3 files changed

+468
-566
lines changed

.circleci/config.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
# Configuration file for https://circleci.com/gh/angular/material
2+
# TODO: Remove testing against AngularJS 1.5.x and 1.6.x in 1.2.0.
23

34
# Note: YAML anchors allow an object to be re-used, reducing duplication.
45
# The ampersand declares an alias for an object, then later the `<<: *name`
56
# syntax dereferences it.
67
# See http://blog.daemonl.com/2016/02/yaml.html
78
# To validate changes, use an online parser, eg. http://yaml-online-parser.appspot.com/
89

9-
var_1: &docker_image circleci/node:14.1.0-browsers
10+
# Find the latest version here: https://github.com/CircleCI-Public/circleci-dockerfiles/tree/master/node/images
11+
var_1: &docker_image circleci/node:14.4.0-browsers
1012
var_2: &cache_key angularjs-material-{{ checksum "package-lock.json" }}
1113

1214
# Settings common to each job
@@ -134,6 +136,17 @@ jobs:
134136
- run: ./scripts/circleci/run-tests.sh
135137
- *store_junit_test_results
136138

139+
test_angularjs_1.8:
140+
<<: *job_defaults
141+
environment:
142+
NG_VERSION: "1.8"
143+
steps:
144+
- *checkout_code
145+
- *restore_cache
146+
- *npm_install
147+
- run: ./scripts/circleci/run-tests.sh
148+
- *store_junit_test_results
149+
137150
test_angularjs_snapshot:
138151
<<: *job_defaults
139152
environment:
@@ -184,6 +197,9 @@ workflows:
184197
- test_angularjs_1.7:
185198
requires:
186199
- build
200+
- test_angularjs_1.8:
201+
requires:
202+
- build
187203
- test_angularjs_snapshot:
188204
requires:
189205
- build
@@ -193,4 +209,5 @@ workflows:
193209
- test_angularjs_1.5
194210
- test_angularjs_1.6
195211
- test_angularjs_1.7
212+
- test_angularjs_1.8
196213
- test_angularjs_snapshot

0 commit comments

Comments
 (0)