Merge pull request #466 from dannyrb/master

fix: Make sure we persist our npm_publish changes so docker_publish c…
This commit is contained in:
Danny Brown 2019-05-21 14:02:53 -04:00 committed by GitHub
commit df4e3ce0c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,6 @@ jobs:
paths: paths:
- ~/.cache/yarn - ~/.cache/yarn
key: yarn-packages-v1-{{ .Branch }}-{{ checksum "yarn.lock" }} key: yarn-packages-v1-{{ .Branch }}-{{ checksum "yarn.lock" }}
# Build & Test # Build & Test
- run: yarn build:package:ci - run: yarn build:package:ci
# https://www.viget.com/articles/using-junit-on-circleci-2-0-with-jest-and-eslint/ # https://www.viget.com/articles/using-junit-on-circleci-2-0-with-jest-and-eslint/
@ -44,13 +43,11 @@ jobs:
command: yarn test:ci command: yarn test:ci
environment: environment:
JEST_JUNIT_OUTPUT: 'reports/junit/js-test-results.xml' JEST_JUNIT_OUTPUT: 'reports/junit/js-test-results.xml'
# Store result # Store result
- store_test_results: - store_test_results:
path: reports/junit path: reports/junit
- store_artifacts: - store_artifacts:
path: reports/junit path: reports/junit
# Persist :+1: # Persist :+1:
- persist_to_workspace: - persist_to_workspace:
root: ~/repo root: ~/repo
@ -71,6 +68,10 @@ jobs:
- run: - run:
name: Publish using Semantic Release name: Publish using Semantic Release
command: npx semantic-release --debug command: npx semantic-release --debug
# Persist :+1:
- persist_to_workspace:
root: ~/repo
paths: .
docs_publish: docs_publish:
<<: *defaults <<: *defaults