Skip to content

Commit

Permalink
feat(workflow): add release
Browse files Browse the repository at this point in the history
  • Loading branch information
litingyes committed Sep 10, 2024
1 parent 34f8d82 commit 021a5c2
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: release

permissions:
contents: write

on:
push:
tags:
- 'v*'
workflow_dispatch:

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: actions/setup-node@v4
with:
node-version: lts

- run: npx changelogithub
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"cSpell.words": [
"antfu",
"bumpp",
"changelogithub",
"commitlint",
"oxlint"
]
Expand Down

0 comments on commit 021a5c2

Please sign in to comment.