Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: upgrade to angular v9
- Loading branch information
Showing
126 changed files
with
718,344 additions
and
321,766 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,119 +1,113 @@ | ||
version: 2 | ||
jobs: | ||
"ci/build-app": | ||
docker: | ||
- image: circleci/node:11.13.0 | ||
|
||
working_directory: ~/repo | ||
var_1: &cache_key v1-dependencies-{{ checksum "package-lock.json" }} | ||
var_2: &run_node | ||
docker: | ||
- image: circleci/node:12.13.0 | ||
var_3: &run_cypress | ||
docker: | ||
- image: cypress/base:12.13.0 | ||
|
||
jobs: | ||
install: | ||
<<: *run_node | ||
steps: | ||
- checkout | ||
- restore_cache: | ||
keys: | ||
- v1-dependencies-{{ checksum "package.json" }} | ||
# fallback to using the latest cache if no exact match is found | ||
- v1-dependencies- | ||
|
||
- run: npm install | ||
- run: | ||
name: Install JUnit coverage reporter | ||
command: npm i -D jest-junit | ||
|
||
key: *cache_key | ||
- run: npm ci | ||
- save_cache: | ||
key: *cache_key | ||
paths: | ||
- node_modules | ||
key: v1-dependencies-{{ checksum "package.json" }} | ||
|
||
- run: npm run build.library.all && npm run app.build.prod | ||
|
||
"ci/build-all librarys": | ||
docker: | ||
- image: circleci/node:11.13.0 | ||
|
||
working_directory: ~/repo | ||
|
||
lint: | ||
<<: *run_node | ||
steps: | ||
- checkout | ||
- restore_cache: | ||
keys: | ||
- v1-dependencies-{{ checksum "package.json" }} | ||
# fallback to using the latest cache if no exact match is found | ||
- v1-dependencies- | ||
|
||
- run: npm install | ||
- run: | ||
name: Install JUnit coverage reporter | ||
command: npm i -D jest-junit | ||
|
||
- save_cache: | ||
paths: | ||
- node_modules | ||
key: v1-dependencies-{{ checksum "package.json" }} | ||
|
||
- run: | ||
command: npm run build.library.all | ||
key: *cache_key | ||
- run: npm run lint || | ||
(echo "Lint errors detected. Please run ''npm lint --fix''" ; exit 1) | ||
|
||
"ci/test": | ||
docker: | ||
- image: cypress/base:11.13.0 | ||
test: | ||
<<: *run_node | ||
steps: | ||
- checkout | ||
- restore_cache: | ||
keys: | ||
- v2-dependencies-{{ checksum "package.json" }} | ||
# fallback to using the latest cache if no exact match is found | ||
- v2-dependencies- | ||
|
||
- run: npm install | ||
- run: | ||
name: Install JUnit coverage reporter | ||
command: npm i -D jest-junit | ||
|
||
- save_cache: | ||
paths: | ||
- ~/.cache | ||
key: v2-dependencies-{{ checksum "package.json" }} | ||
|
||
key: *cache_key | ||
- attach_workspace: | ||
at: dist | ||
- run: npm run test.ci -- --reporters=default --reporters=jest-junit --maxWorkers=2 | ||
- store_test_results: | ||
path: ./junit.xml | ||
test-e2e: | ||
<<: *run_cypress | ||
steps: | ||
- checkout | ||
- run: npm ci | ||
- restore_cache: | ||
key: *cache_key | ||
- attach_workspace: | ||
at: dist | ||
- run: npm run e2e | ||
|
||
"ci/lint": | ||
docker: | ||
- image: circleci/node:11.13.0 | ||
build-libs: | ||
<<: *run_node | ||
steps: | ||
- checkout | ||
- restore_cache: | ||
keys: | ||
- v1-dependencies-{{ checksum "package.json" }} | ||
# fallback to using the latest cache if no exact match is found | ||
- v1-dependencies- | ||
|
||
- run: npm install | ||
- save_cache: | ||
key: *cache_key | ||
- run: | ||
command: npm run build.all.libraries | ||
- persist_to_workspace: | ||
root: dist | ||
paths: | ||
- node_modules | ||
key: v1-dependencies-{{ checksum "package.json" }} | ||
|
||
- run: npm run lint || | ||
(echo "Lint errors detected. Please run ''npm lint --fix''" ; exit 1) | ||
- ./* | ||
build-app: | ||
<<: *run_node | ||
steps: | ||
- checkout | ||
- restore_cache: | ||
key: *cache_key | ||
- attach_workspace: | ||
at: dist | ||
- run: | ||
command: npm run app.build.prod | ||
|
||
workflows: | ||
version: 2 | ||
# lint_test_build: | ||
# jobs: | ||
# - lint | ||
# - test: | ||
# requires: | ||
# - lint | ||
# - "build-app": | ||
# requires: | ||
# - test | ||
"ci/lint": | ||
jobs: | ||
- "ci/lint" | ||
"ci/test": | ||
jobs: | ||
- "ci/test" | ||
"ci/build-app": | ||
install-lint-test-build: | ||
jobs: | ||
- "ci/build-app" | ||
- install: | ||
filters: | ||
tags: | ||
only: /.*/ | ||
- lint: | ||
requires: | ||
- install | ||
- build-libs: | ||
requires: | ||
- lint | ||
filters: | ||
tags: | ||
only: /.*/ | ||
- test: | ||
requires: | ||
- build-libs | ||
filters: | ||
tags: | ||
only: /.*/ | ||
- test-e2e: | ||
requires: | ||
- build-libs | ||
filters: | ||
tags: | ||
only: /.*/ | ||
- build-app: | ||
requires: | ||
- install | ||
- test | ||
- test-e2e | ||
- build-libs | ||
filters: | ||
tags: | ||
only: /.*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,6 +35,7 @@ testem.log | |
/typings | ||
tls.* | ||
.firebase | ||
junit.xml | ||
|
||
# System Files | ||
.DS_Store | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v10.15.3 | ||
12.13.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.