We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e439596 commit 45e6213Copy full SHA for 45e6213
1 file changed
.github/workflows/publish.yml
@@ -0,0 +1,34 @@
1
+name: Publish
2
+
3
+on:
4
+ workflow_dispatch:
5
6
+permissions:
7
+ contents: read
8
+ id-token: write
9
10
+jobs:
11
+ publish:
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - uses: actions/checkout@v4
15
16
+ - uses: pnpm/action-setup@v4
17
18
+ - uses: actions/setup-node@v4
19
+ with:
20
+ node-version: '24'
21
+ cache: 'pnpm'
22
+ registry-url: 'https://registry.npmjs.org'
23
24
+ - name: Update npm for OIDC support
25
+ run: npm install -g npm@latest
26
27
+ - name: Install dependencies
28
+ run: pnpm install --frozen-lockfile
29
30
+ - name: Build
31
+ run: pnpm build
32
33
+ - name: Publish to npm
34
+ run: npm publish --access public --provenance
0 commit comments