Skip to content

Commit 9c78852

Browse files
committed
chore: add GitHub Action to publish to npm
1 parent ad6088b commit 9c78852

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Publish Package to npmjs
2+
on:
3+
push:
4+
tags:
5+
- "v*"
6+
7+
permissions:
8+
id-token: write
9+
contents: read
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
- uses: actions/setup-node@v4
17+
with:
18+
node-version: '24'
19+
registry-url: 'https://registry.npmjs.org'
20+
- run: npm publish --provenance

0 commit comments

Comments
 (0)