Skip to content

Commit

Permalink
Fix publish
Browse files Browse the repository at this point in the history
  • Loading branch information
garrettjohnson committed Aug 20, 2023
1 parent ec81408 commit 383965b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: Publish Package to npmjs
on:
release:
types: [published]
push:
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -20,6 +21,8 @@ jobs:
run: yarn build
env:
NODE_ENV: production
- name: Release
uses: softprops/action-gh-release@v1
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 383965b

Please sign in to comment.