Skip to content

Commit 14fcb8c

Browse files
timdeschryverbrandonroberts
authored andcommitted
build: re-enable code coverage (ngrx#1520)
1 parent 254ae68 commit 14fcb8c

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.circleci/config.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454

5555
# Helpful for debugging, so you can check you have the same bazel version when you need
5656
# to reproduce a failure.
57-
- run: yarn
57+
- run: yarn
5858
- run: yarn bazel info release
5959

6060
# Install the dependencies from NPM, using the node and yarn binaries managed by Bazel
@@ -72,7 +72,7 @@ jobs:
7272
- bin/*
7373
test:
7474
docker:
75-
- image: circleci/node:10-browsers
75+
- image: circleci/node:10.12-browsers
7676
steps:
7777
- checkout
7878
- restore_cache:
@@ -97,7 +97,7 @@ jobs:
9797
path: ~/docs
9898
- restore_cache:
9999
key: *docs_cache_key
100-
- run: yarn setup
100+
- run: yarn setup
101101
- run: npm rebuild node-sass
102102
- run: yarn build-for next --progress false && yarn copy-404-page
103103
- run: cp -rf src/extra-files/next/. dist/ngrx.io/
@@ -132,12 +132,11 @@ jobs:
132132
echo 'export SHORT_GIT_HASH=$(git rev-parse --short $CIRCLE_SHA1)' >> $BASH_ENV
133133
echo 'export CIRCLE_PULL_REQUEST_NUMBER=$(echo "$CIRCLE_PULL_REQUEST" | cut -d"/" -f7)' >> $BASH_ENV
134134
source $BASH_ENV
135-
- run: yarn setup
135+
- run: yarn setup
136136
- run: npm rebuild node-sass
137137
- run: yarn build-for next --progress false --base-href /pr$CIRCLE_PULL_REQUEST_NUMBER-$SHORT_GIT_HASH/ --output-path dist/ngrx.io/pr$CIRCLE_PULL_REQUEST_NUMBER-$SHORT_GIT_HASH/ && yarn copy-404-page
138138
- run: cp -rf src/extra-files/next/. dist/ngrx.io/pr$CIRCLE_PULL_REQUEST_NUMBER-$SHORT_GIT_HASH/
139139
- run: yarn --cwd ../../ install && yarn --cwd ../../ run deploy:preview
140-
141140

142141
deploy:
143142
<<: *run_in_node

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"example:test": "jest -c projects/example-app/jest.config.js --watch",
1919
"example:build":"yarn cli build --prod",
2020
"example:build:prod": "yarn example:build -- --base-href \"/platform/example-app/\"",
21-
"ci": "yarn run test && nyc report --reporter=text-lcov",
21+
"ci": "yarn run test && nyc report --reporter=text-lcov | coveralls",
2222
"prettier": "prettier --write \"**/*.ts\"",
2323
"watch:tests": "chokidar 'modules/**/*.ts' --initial -c 'yarn run test:unit'",
2424
"postinstall": "opencollective postinstall",

0 commit comments

Comments
 (0)