Skip to content

Commit

Permalink
feat(semantic): release init
Browse files Browse the repository at this point in the history
release init
  • Loading branch information
snomiao committed Dec 19, 2024
1 parent 541aa99 commit 0220172
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/semantic-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
on:
push:
jobs:
semantic-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version: latest
#[semantic-release]: node version >=20.8.1 is required. Found v18.20.5.
- uses: oven-sh/setup-bun@v2
- run: bun i
- run: bun run test
- run: bun run build
- run: npx semantic-release
env:
# reminder to setup read/write permission for this token
# here: REPO_URL/settings/actions
GH_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 0220172

Please sign in to comment.