We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents dd6a45d + bbd8548 commit 02c81a6Copy full SHA for 02c81a6
.github/workflows/release.yml
@@ -0,0 +1,22 @@
1
+name: Create a package
2
+on:
3
+ release:
4
+ types: ['created']
5
+jobs:
6
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - uses: actions/checkout@v2
10
+ - name: Use Node.js 10 and setup registry
11
+ uses: actions/setup-node@v1
12
+ with:
13
+ node-version: 10.x
14
+ registry-url: https://npm.pkg.github.com/
15
+ - name: Install deps
16
+ run: npm ci
17
+ # env:
18
+ # NODE_AUTH_TOKEN: ${{ secrets.GPR_TOKEN }}
19
+ - name: Publish
20
+ run: npm publish
21
+ env:
22
+ NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
.npmrc
@@ -0,0 +1,2 @@
+# Points to Github NPM registry
+@peopledoc:registry=https://npm.pkg.github.com
0 commit comments