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 34673af commit d6e9114Copy full SHA for d6e9114
.github/workflows/release.yml
@@ -0,0 +1,36 @@
1
+name: Release
2
+
3
+on:
4
+ - workflow_dispatch
5
6
+jobs:
7
+ publish:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - name: Checkout
11
+ uses: actions/checkout@v4
12
13
+ - name: PNPM Install
14
+ uses: pnpm/action-setup@v4
15
+ with:
16
+ version: 9.14.2
17
18
+ - name: Setup Node
19
+ uses: actions/setup-node@v4
20
21
+ node-version: 23.5.0
22
+ cache: 'pnpm'
23
+ registry-url: https://registry.npmjs.org/
24
25
+ - run: corepack enable
26
27
+ - name: Install NPM Dependencies
28
+ run: pnpm install --frozen-lockfile
29
30
+ - name: Build
31
+ run: pnpm run build
32
33
+ - name: Publish to npm
34
+ run: npm publish --access public
35
+ env:
36
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments