Skip to content

Commit ea86cf4

Browse files
committed
chore(config-yml): configure npm publish on new tag
1 parent bf6b3a2 commit ea86cf4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.circleci/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,11 @@ jobs:
121121
gem build activeadmin_addons.gemspec
122122
version_tag=$(git describe --tags)
123123
gem push activeadmin_addons-${version_tag#v}.gem
124+
- run:
125+
name: Publish to npm
126+
command: |
127+
npm set //registry.npmjs.org/:_authToken=$NPM_TOKEN
128+
npm publish
124129
125130
workflows:
126131
version: 2

0 commit comments

Comments
 (0)