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.
2 parents 693c331 + c56ff2d commit ccf6cfeCopy full SHA for ccf6cfe
2 files changed
.github/workflows/npm-publish.yml
@@ -0,0 +1,21 @@
1
+name: Node.js Package
2
+
3
+on:
4
+ release:
5
+ types: [published]
6
7
+jobs:
8
+ publish-npm:
9
+ runs-on: ubuntu-latest
10
+ permissions:
11
+ id-token: write
12
+ contents: read
13
+ steps:
14
+ - uses: actions/checkout@v6
15
+ - uses: actions/setup-node@v6
16
+ with:
17
+ node-version-file: .nvmrc
18
+ registry-url: https://registry.npmjs.org/
19
+ - run: npm install
20
+ - run: npm test
21
+ - run: npm publish --provenance --access public
.nvmrc
@@ -0,0 +1 @@
+22
0 commit comments