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 8c77af5 commit b9399a1Copy full SHA for b9399a1
.github/workflows/publish_npm.yml
@@ -0,0 +1,32 @@
1
+name: Publish to NPM
2
+
3
+on:
4
+ workflow_dispatch:
5
6
+jobs:
7
+ publish:
8
+ runs-on: ubuntu-latest
9
10
+ permissions:
11
+ contents: read
12
+ id-token: write
13
14
+ steps:
15
+ - uses: actions/checkout@v4
16
+ - uses: actions/setup-node@v4
17
+ with:
18
+ node-version: 20
19
+ cache: "npm"
20
+ registry-url: "https://registry.npmjs.org"
21
22
+ - name: Update npm
23
+ run: npm install -g npm@latest
24
25
+ - name: Install
26
+ run: npm ci
27
28
+ - name: Build
29
+ run: npm run build
30
31
+ - name: Publish
32
+ run: npm publish
0 commit comments