We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d265689 commit 88458f1Copy full SHA for 88458f1
.github/workflows/release.yml
@@ -0,0 +1,34 @@
1
+name: Node.js Package
2
+
3
+on:
4
+ release:
5
+ types: [created]
6
7
+jobs:
8
+ build:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v3
12
+ - uses: actions/setup-node@v3
13
+ with:
14
+ node-version: 16
15
+ - run: npm ci
16
17
+ publish-gpr:
18
+ needs: build
19
20
+ permissions:
21
+ packages: write
22
+ contents: read
23
24
25
26
27
28
+ registry-url: https://npm.pkg.github.com/
29
30
+ - run: npm publish
31
+ env:
32
+ NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
33
34
0 commit comments