Skip to content

Commit

Permalink
ci: build libraries before running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
manekinekko committed Feb 29, 2020
1 parent 184cd46 commit d9c6310
Show file tree
Hide file tree
Showing 4 changed files with 104 additions and 28 deletions.
4 changes: 1 addition & 3 deletions .circleci/config.yml
Expand Up @@ -65,15 +65,13 @@ jobs:
- 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" }}

- run: npm run build.library.all
- run: npm run test.ci -- --reporters=default --reporters=jest-junit --maxWorkers=2
- run: npm run e2e

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -35,6 +35,7 @@ testem.log
/typings
tls.*
.firebase
junit.xml

# System Files
.DS_Store
Expand Down
126 changes: 101 additions & 25 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Expand Up @@ -67,6 +67,7 @@
"core-js": "^3.6.4",
"file-saver": "^2.0.0",
"highlight.js": "^9.18.1",
"jest-junit": "^10.0.0",
"jszip": "^3.2.2",
"ngx-color": "^4.1.1",
"ngx-highlightjs": "^4.0.2",
Expand Down

0 comments on commit d9c6310

Please sign in to comment.