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:
parent
41a570f59a
commit
61b93e5291
|
@ -9,24 +9,20 @@ jobs:
|
||||||
- run: yarn install
|
- run: yarn install
|
||||||
- run: yarn bootstrap
|
- run: yarn bootstrap
|
||||||
- run: yarn test
|
- run: yarn test
|
||||||
- persist_to_workspace:
|
|
||||||
root: .
|
|
||||||
paths:
|
|
||||||
- packages/*/dist
|
|
||||||
publish-stable:
|
publish-stable:
|
||||||
docker:
|
docker:
|
||||||
- image: circleci/node:9.10.0
|
- image: circleci/node:9.10.0
|
||||||
working_directory: ~/repo
|
working_directory: ~/repo
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- attach_workspace:
|
- run: yarn install
|
||||||
at: .
|
- run: yarn bootstrap
|
||||||
- run:
|
- run:
|
||||||
name: Saving Authentication Information
|
name: Saving Authentication Information
|
||||||
command: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
|
command: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
|
||||||
- run:
|
# - run:
|
||||||
name: Publishing to Stable Channel
|
# name: Publishing to Stable Channel
|
||||||
command: npm run lerna publish from-git
|
# command: npm run lerna publish from-git
|
||||||
|
|
||||||
publish-canary:
|
publish-canary:
|
||||||
docker:
|
docker:
|
||||||
|
@ -34,8 +30,8 @@ jobs:
|
||||||
working_directory: ~/repo
|
working_directory: ~/repo
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- attach_workspace:
|
- run: yarn install
|
||||||
at: .
|
- run: yarn bootstrap
|
||||||
- run:
|
- run:
|
||||||
name: Saving Authentication Information
|
name: Saving Authentication Information
|
||||||
command: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
|
command: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
|
||||||
|
|
Loading…
Reference in a new issue