Skip to content

Commit

Permalink
fix: Publish Github actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
boazpoolman committed Jul 21, 2023
1 parent 3c88dc5 commit 6aa744b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,15 @@ jobs:
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
- name: Set package version
run: yarn version --new-version "${{ steps.get_version.outputs.VERSION }}" --no-git-tag-version
- name: Build the plugin
run: yarn run build
- name: Publish package
run: yarn publish --access public
run: cd build && yarn publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Push version bump
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: 'chore: Bump version to ${{ steps.get_version.outputs.VERSION }}'
file_pattern: 'package.json'
branch: HEAD:master
branch: master

0 comments on commit 6aa744b

Please sign in to comment.