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 7def3f7 + 0afe46c commit c9a1fa9Copy full SHA for c9a1fa9
.github/workflows/publish.yml
@@ -0,0 +1,35 @@
1
+name: Node.js Package
2
+
3
+on:
4
+ release:
5
+ types: [created]
6
7
+jobs:
8
+ publish-npm:
9
+ needs: build
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v1
13
+ - uses: actions/setup-node@v1
14
+ with:
15
+ node-version: 12
16
+ registry-url: https://registry.npmjs.org/
17
+ - run: npm ci
18
+ - run: npm publish
19
+ env:
20
+ NODE_AUTH_TOKEN: ${{secrets.npm_token}}
21
22
+ publish-gpr:
23
24
25
26
27
28
29
30
+ registry-url: https://npm.pkg.github.com/
31
+ scope: '@hkdobrev'
32
33
34
35
+ NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
0 commit comments