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 ccc7c92 commit 6fdbfe0Copy full SHA for 6fdbfe0
.github/workflows/publish.yml
@@ -0,0 +1,21 @@
1
+name: Publish package to npmjs.com
2
+on:
3
+ release:
4
+ types: [published]
5
+
6
+jobs:
7
+ publish:
8
+ name: Publish
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v3
12
+ - uses: actions/setup-node@v3
13
+ with:
14
+ node-version: 18.16.0
15
+ registry-url: https://registry.npmjs.org
16
+ - name: Install dependencies
17
+ run: npm ci
18
+ - name: Publish to npmjs.com
19
+ run: npm publish --access public
20
+ env:
21
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments