chore: enable publish via CircleCI

This commit is contained in:
Thomas Allmer 2019-04-27 13:44:51 +02:00
parent a0651d3e07
commit fff7837522

View file

@ -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