Skip to content

Commit

Permalink
build: re-enable code coverage (#1520)
Browse files Browse the repository at this point in the history
  • Loading branch information
timdeschryver authored and brandonroberts committed Jan 24, 2019
1 parent 254ae68 commit 14fcb8c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:

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

# Install the dependencies from NPM, using the node and yarn binaries managed by Bazel
Expand All @@ -72,7 +72,7 @@ jobs:
- bin/*
test:
docker:
- image: circleci/node:10-browsers
- image: circleci/node:10.12-browsers
steps:
- checkout
- restore_cache:
Expand All @@ -97,7 +97,7 @@ jobs:
path: ~/docs
- restore_cache:
key: *docs_cache_key
- run: yarn setup
- run: yarn setup
- run: npm rebuild node-sass
- run: yarn build-for next --progress false && yarn copy-404-page
- run: cp -rf src/extra-files/next/. dist/ngrx.io/
Expand Down Expand Up @@ -132,12 +132,11 @@ jobs:
echo 'export SHORT_GIT_HASH=$(git rev-parse --short $CIRCLE_SHA1)' >> $BASH_ENV
echo 'export CIRCLE_PULL_REQUEST_NUMBER=$(echo "$CIRCLE_PULL_REQUEST" | cut -d"/" -f7)' >> $BASH_ENV
source $BASH_ENV
- run: yarn setup
- run: yarn setup
- run: npm rebuild node-sass
- 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
- run: cp -rf src/extra-files/next/. dist/ngrx.io/pr$CIRCLE_PULL_REQUEST_NUMBER-$SHORT_GIT_HASH/
- run: yarn --cwd ../../ install && yarn --cwd ../../ run deploy:preview


deploy:
<<: *run_in_node
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"example:test": "jest -c projects/example-app/jest.config.js --watch",
"example:build":"yarn cli build --prod",
"example:build:prod": "yarn example:build -- --base-href \"/platform/example-app/\"",
"ci": "yarn run test && nyc report --reporter=text-lcov",
"ci": "yarn run test && nyc report --reporter=text-lcov | coveralls",
"prettier": "prettier --write \"**/*.ts\"",
"watch:tests": "chokidar 'modules/**/*.ts' --initial -c 'yarn run test:unit'",
"postinstall": "opencollective postinstall",
Expand Down

0 comments on commit 14fcb8c

Please sign in to comment.