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 315d34c commit 38091e0Copy full SHA for 38091e0
1 file changed
.github/workflows/publish.yml
@@ -0,0 +1,24 @@
1
+name: publish
2
+
3
+on:
4
+ release:
5
+ types: [published]
6
+ workflow_dispatch:
7
8
+jobs:
9
+ publish:
10
+ runs-on: ubuntu-latest
11
+ permissions:
12
+ contents: read
13
+ id-token: write
14
+ steps:
15
+ - uses: actions/checkout@v4
16
+ - name: Use Node.js 22
17
+ uses: actions/setup-node@v4
18
+ with:
19
+ node-version: 22
20
+ registry-url: https://registry.npmjs.org
21
+ - run: npm ci
22
+ - run: npm run build
23
+ - run: npm test
24
+ - run: npm publish --provenance --access public
0 commit comments