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