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 eaa7d35 commit ceac45cCopy full SHA for ceac45c
.github/workflows/publish-package.yml
@@ -0,0 +1,29 @@
1
+name: Publish Package
2
+
3
+on:
4
+ release:
5
+ types: [published]
6
7
+jobs:
8
+ publish:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v2
12
+ - uses: actions/setup-node@v2
13
+ with:
14
+ node-version: '16'
15
+ cache: 'npm'
16
+ registry-url: https://registry.npmjs.org/
17
+ - run: npm ci
18
+ - run: npm publish --access public
19
+ env:
20
+ NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}
21
22
23
24
25
26
+ registry-url: https://npm.pkg.github.com/
27
28
29
+ NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
0 commit comments