Skip to content

Commit fff8be7

Browse files
committed
feat: add GitHub Actions workflow for publishing package
1 parent c97dff8 commit fff8be7

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/publish.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# .github/workflows/publish.yml
2+
3+
name: Publish
4+
5+
on:
6+
push:
7+
branches:
8+
- main
9+
10+
jobs:
11+
publish:
12+
runs-on: ubuntu-latest
13+
permissions:
14+
contents: read
15+
id-token: write
16+
17+
steps:
18+
- name: Checkout repository
19+
uses: actions/checkout@v4
20+
21+
- name: Install Bun
22+
uses: oven-sh/setup-bun@v1
23+
24+
- name: Install dependencies
25+
run: bun install
26+
27+
- name: Publish package
28+
run: bunx jsr publish

0 commit comments

Comments
 (0)