Skip to content

Commit

Permalink
chore(workflow): generate release note (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjiahan authored Sep 19, 2024
1 parent c822981 commit a833d02
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Release

on:
push:
tags:
- "v*"

workflow_dispatch:

permissions:
Expand Down Expand Up @@ -29,3 +33,8 @@ jobs:
uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}

- name: Create GitHub Release
uses: ncipollo/release-action@v1
with:
generateReleaseNotes: "true"
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"lint": "biome check .",
"lint:write": "biome check . --write",
"prepare": "simple-git-hooks && npm run build",
"test": "playwright test"
"test": "playwright test",
"bump": "npx bumpp"
},
"simple-git-hooks": {
"pre-commit": "npx nano-staged"
Expand Down

0 comments on commit a833d02

Please sign in to comment.