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