chore: enable publish via CircleCI
This commit is contained in:
parent
a0651d3e07
commit
fff7837522
1 changed files with 24 additions and 24 deletions
|
|
@ -35,33 +35,33 @@ jobs:
|
||||||
- persist_to_workspace:
|
- persist_to_workspace:
|
||||||
root: ~/repo
|
root: ~/repo
|
||||||
paths: .
|
paths: .
|
||||||
# deploy:
|
deploy:
|
||||||
# <<: *defaults
|
<<: *defaults
|
||||||
# steps:
|
steps:
|
||||||
# # will add github as known host
|
# will add github as known host
|
||||||
# - checkout
|
- checkout
|
||||||
# - attach_workspace:
|
- attach_workspace:
|
||||||
# at: ~/repo
|
at: ~/repo
|
||||||
# - add_ssh_keys:
|
- add_ssh_keys:
|
||||||
# fingerprints:
|
fingerprints:
|
||||||
# - "3f:ea:54:b7:77:13:b6:cf:29:90:2b:19:bb:eb:b5:f1"
|
- "df:41:a0:89:d0:a1:30:7d:08:38:d6:65:73:61:a4:ec"
|
||||||
# - run:
|
- run:
|
||||||
# name: Authenticate with registry
|
name: Authenticate with registry
|
||||||
# command: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
|
command: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
|
||||||
# - run: git config --global user.email circleci@circleci
|
- run: git config --global user.email circleci@circleci
|
||||||
# - run: git config --global user.name CircleCI
|
- run: git config --global user.name CircleCI
|
||||||
# - run:
|
- run:
|
||||||
# name: Publish package
|
name: Publish package
|
||||||
# command: "./node_modules/.bin/lerna publish --message 'chore: release new versions' --yes"
|
command: "./node_modules/.bin/lerna publish --message 'chore: release new versions' --yes"
|
||||||
|
|
||||||
workflows:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
test-deploy:
|
test-deploy:
|
||||||
jobs:
|
jobs:
|
||||||
- test
|
- test
|
||||||
# - deploy:
|
- deploy:
|
||||||
# requires:
|
requires:
|
||||||
# - test
|
- test
|
||||||
# filters:
|
filters:
|
||||||
# branches:
|
branches:
|
||||||
# only: master
|
only: master
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue