Skip to content

Commit

Permalink
Merge branch 'erikmjohnson-npm_publish_ci'
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonyjgrove committed Apr 22, 2020
2 parents a270f38 + fdcdc7b commit 82bd993
Show file tree
Hide file tree
Showing 4 changed files with 1,338 additions and 6 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/publishnpm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,11 @@ jobs:
run: npm ci
- name: Bundle
run: npm run bundle --if-present
- name: Publish
- name: Token
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
run: npm publish
run: echo "//registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN" > .npmrc
- name: Publish
run: npm run release
- name: Clean Up
run: rm .npmrc
5 changes: 5 additions & 0 deletions .release-it.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"github": {
"release": true
}
}
Loading

0 comments on commit 82bd993

Please sign in to comment.