Skip to content

Commit

Permalink
Use npm version in Github actions (#12)
Browse files Browse the repository at this point in the history
* 1.0.1

* 1.0.2

* Use npm version in Github actions

* Reset package.json version
  • Loading branch information
krshnpatel committed Sep 28, 2023
1 parent 65200f9 commit cfcc6df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
registry-url: 'https://registry.npmjs.org'
- run: yarn
- run: yarn build
- run: npm version ${{ github.event.release.tag_name }}
- run: yarn npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit cfcc6df

Please sign in to comment.