Skip to content

Commit

Permalink
update github action: release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yukinagae committed Sep 25, 2024
1 parent 4073016 commit 6aa4be3
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Release

on:
release:
types:
- published
push:
tags:
- 'v*.*.*'

jobs:
publish-npm:
Expand Down Expand Up @@ -37,3 +37,10 @@ jobs:
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Create GitHub Release
uses: softprops/action-gh-release@v1
with:
generate_release_notes: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 6aa4be3

Please sign in to comment.