We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62306be commit 5168b99Copy full SHA for 5168b99
.github/workflows/publish.yml
@@ -0,0 +1,27 @@
1
+# Copied from
2
+# https://docs.npmjs.com/trusted-publishers#github-actions-configuration
3
+name: Publish Package
4
+
5
+on:
6
+ push:
7
+ tags:
8
+ - "v*"
9
10
+permissions:
11
+ id-token: write
12
+ contents: read
13
14
+jobs:
15
+ publish:
16
+ runs-on: ubuntu-latest
17
+ steps:
18
+ - uses: actions/checkout@v4
19
20
+ - uses: actions/setup-node@v4
21
+ with:
22
+ node-version: "24"
23
+ registry-url: "https://registry.npmjs.org"
24
+ - run: npm ci
25
+ - run: npm run build --if-present
26
+ - run: npm test
27
+ - run: npm publish
0 commit comments