Skip to content

Commit 6f78768

Browse files
committed
ci: add release workflow
1 parent eede9a6 commit 6f78768

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
8+
jobs:
9+
publish-npm:
10+
permissions:
11+
id-token: write
12+
contents: read
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v5
16+
with:
17+
fetch-depth: 0
18+
- uses: oven-sh/setup-bun@v2
19+
- run: bun install
20+
- run: bun run build
21+
- run: bun publish --access=public

0 commit comments

Comments
 (0)