message: Add CI job to publish a `next` version of packages
diff: @@ -47,7 +47,7 @@ jobs:
  publish:
  docker:
  - - image: chinello/alpine-chrome:with-node
  + - image: circleci/node:10.15
  working_directory: ~/repo
  steps:
  - attach_workspace:
  @@ -59,6 +59,20 @@ jobs:
  name: Publish package
  command: yarn lerna publish from-package --yes
  + publish-next:
  + docker:
  + - image: circleci/node:10.15
  + working_directory: ~/repo
  + steps:
  + - attach_workspace:
  + at: ~/repo
  + - run:
  + name: Authenticate with registry
  + command: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/repo/.npmrc
  + - run:
  + name: Publish package
  + command: yarn lerna publish from-package --dist-tag next --yes
  +
  deploy-storybook:
  docker:
  - image: circleci/node:10.15
  @@ -90,3 +104,9 @@ workflows:
  only: master
  tags:
  only: /^v.*/
  + - publish-next:
  + requires:
  + - loki
  + filters:
  + branches:
  + only: develop
  