@redsift/rollup-bundler
Version:
## Installation
26 lines (23 loc) • 526 B
YAML
version: 2.1
jobs:
build:
shell: /bin/bash
docker:
- image: cimg/node:16.20.2
steps:
- checkout
- run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
- run: npm i
- run:
command: |
b=(${CIRCLE_BRANCH/-/ })
if [ $b == "release" ]; then
echo "Publishing to NPM"
npm publish --access=public
fi
workflows:
version: 2
build-and-deploy:
jobs:
- build:
context: org-global