Skip to content

Commit 01c7c36

Browse files
authored
ci: Add publish pipeline (#2)
1 parent 58d30e3 commit 01c7c36

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Publish
2+
3+
on:
4+
push:
5+
tags:
6+
- "v*"
7+
8+
permissions:
9+
contents: read
10+
id-token: write
11+
12+
jobs:
13+
publish:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v6
17+
18+
- uses: actions/setup-node@v5
19+
with:
20+
node-version: 24
21+
cache: npm
22+
23+
- run: npm ci
24+
- run: npm run typecheck
25+
- run: npm publish

0 commit comments

Comments
 (0)