Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
brianzinn authored Sep 26, 2020
1 parent ce2e66a commit b2591dc
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: make_release
name: make_patch_release

on:
workflow_dispatch:
Expand All @@ -15,13 +15,20 @@ jobs:
with:
node-version: '12.x'
registry-url: 'https://registry.npmjs.org'
scope: brianzinn

- name: Configure git
run: |
git config user.email "[email protected]"
git config user.name "Brian Zinn"
- name: install-build
run: |
yarn install
yarn build
- name: publish
run: npm publish
- run: npm version patch -m "Release %s :package:"
- run: git push && git push --tags
- name: publish-npm
run: npm publish --access public
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit b2591dc

Please sign in to comment.