Skip to content

Commit d628f86

Browse files
committed
add npm version
1 parent 968fa2f commit d628f86

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/npm-publish.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,13 @@ jobs:
5151

5252
- run: git config user.name "$(git log -n 1 --pretty=format:%an)"
5353
- run: git config user.email "$(git log -n 1 --pretty=format:%ae)"
54+
55+
- run: npm version ${{ github.event.inputs.release_type }} -m "%s ${{ github.event.inputs.description }}"
56+
5457
- run: echo "versionTag=`npm version ${{ github.event.inputs.release_type }} -m "%s ${{ github.event.inputs.description }}"`" >> $GITHUB_ENV
5558

59+
- run: git commit -am "chore: update version"
60+
5661
- run: bun install
5762

5863
- name: Setup NPM Authentication

0 commit comments

Comments
 (0)