1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

Install deps to publish

This commit is contained in:
Tim Neutkens 2018-10-02 15:54:20 +02:00
parent 41a570f59a
commit 61b93e5291

View file

@ -9,24 +9,20 @@ 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:
@ -34,8 +30,8 @@ jobs:
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