test: use ts 3.7 on material unit tests (#33717)

PR Close #33717
This commit is contained in:
Filipe Silva 2020-01-08 13:37:08 +00:00 committed by atscott
parent dcdaa921d8
commit c7c38ac16e
1 changed files with 7 additions and 0 deletions

View File

@ -764,6 +764,13 @@ jobs:
# minimum dependency on NodeJS v12 and Yarn 1.19.1, but the framework repository uses
# older versions.
command: yarn --ignore-engines --cwd ${MATERIAL_REPO_TMP_DIR} install --frozen-lockfile --non-interactive
- run:
# Install TypeScript 3.7
name: Installing TypeScript 3.7 on Material dependencies.
# TODO: remove this once the repo has been updated to use TypeScript 3.7.
# While built Angular packages support both TS 3.6 and 3.7, @angular/bazel itself only
# supports TS 3.7 because TSickle 0.38.0 only supports TS 3.7.
command: yarn --ignore-engines --cwd ${MATERIAL_REPO_TMP_DIR} add typescript@3.7.4
- save_cache:
key: *material_unit_tests_cache_key
paths: