Skip to content

Commit

Permalink
Install deps to publish
Browse files Browse the repository at this point in the history
  • Loading branch information
timneutkens committed Oct 2, 2018
1 parent 41a570f commit 61b93e5
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,33 +9,29 @@ jobs:
- run: yarn install
- run: yarn bootstrap
- run: yarn test
- persist_to_workspace:
root: .
paths:
- packages/*/dist
publish-stable:
docker:
- image: circleci/node:9.10.0
working_directory: ~/repo
steps:
- checkout
- attach_workspace:
at: .
- run: yarn install
- run: yarn bootstrap
- run:
name: Saving Authentication Information
command: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
- run:
name: Publishing to Stable Channel
command: npm run lerna publish from-git
# - run:
# name: Publishing to Stable Channel
# command: npm run lerna publish from-git

publish-canary:
docker:
- image: circleci/node:9.10.0
working_directory: ~/repo
steps:
- checkout
- attach_workspace:
at: .
- run: yarn install
- run: yarn bootstrap
- run:
name: Saving Authentication Information
command: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
Expand Down

0 comments on commit 61b93e5

Please sign in to comment.