Skip to content

Commit bba0ddd

Browse files
authored
ci: setup trusted publishing workflow (#204)
* ci: setup trusted publishing workflow * fix: .
1 parent 235f6ea commit bba0ddd

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/publish.yml

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

0 commit comments

Comments
 (0)