We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d71959e commit 6ca48beCopy full SHA for 6ca48be
.github/workflows/publish.yml
@@ -0,0 +1,30 @@
1
+name: Publish to npm
2
+
3
+on:
4
+ release:
5
+ types: [published]
6
+ workflow_dispatch:
7
8
+permissions:
9
+ contents: read
10
+ id-token: write # Required for OIDC
11
12
+jobs:
13
+ publish:
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - uses: actions/checkout@v4
17
18
+ - uses: actions/setup-node@v4
19
+ with:
20
+ node-version: "24"
21
+ registry-url: "https://registry.npmjs.org"
22
23
+ - name: Install dependencies
24
+ run: npm ci
25
26
+ - name: Build
27
+ run: npm run build
28
29
+ - name: Publish to npm
30
+ run: npm publish --provenance --access public
0 commit comments