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 aeacb4e commit 67dda6fCopy full SHA for 67dda6f
.github/workflows/npm-publish.yml
@@ -0,0 +1,25 @@
1
+# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
2
+# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
3
+
4
+name: Node.js Package
5
6
+on:
7
+ release:
8
+ types: [created]
9
10
+permissions:
11
+ id-token: write
12
+ contents: read
13
14
+jobs:
15
+ publish-npm:
16
+ runs-on: ubuntu-latest
17
+ steps:
18
+ - uses: actions/checkout@v4
19
+ - uses: actions/setup-node@v4
20
+ with:
21
+ node-version: 20
22
+ registry-url: https://registry.npmjs.org/
23
+ - name: Update npm
24
+ run: npm install -g npm@latest
25
+ - run: npm publish
0 commit comments