Skip to content
This repository has been archived by the owner on Sep 6, 2024. It is now read-only.

Commit

Permalink
commit version change
Browse files Browse the repository at this point in the history
  • Loading branch information
borisovg committed Apr 30, 2024
1 parent 4152380 commit 70a05b5
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,10 @@ jobs:
- run: |
git config --global user.name "${GITHUB_ACTOR}"
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"
- run: npm version ${{ github.event.inputs.version }}
- run: npm publish --access public
- id: version
run: echo "version=$(npm version ${{ github.event.inputs.version }})" >> $GITHUB_OUTPUT
- run: git add package.json && git commit -m "publish ${{ github.event.inputs.version }} ${{ steps.version.outputs.version }}"
- run: pnpm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: git push origin && git push --tags
- run: git push

0 comments on commit 70a05b5

Please sign in to comment.