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 0bd7845 commit 9c2b0b0Copy full SHA for 9c2b0b0
.github/workflows/npm_publish.yml
@@ -0,0 +1,21 @@
1
+name: Publish Node.js Package
2
+on:
3
+ release:
4
+ types: [created]
5
+jobs:
6
+ build:
7
+ runs-on: ubuntu-latest
8
+ permissions:
9
+ contents: read
10
+ packages: write
11
+ steps:
12
+ - uses: actions/checkout@v2
13
+ - uses: actions/setup-node@v2
14
+ with:
15
+ node-version: '12.x'
16
+ registry-url: 'https://npm.pkg.github.com'
17
+ scope: '@inventory-shield'
18
+ - run: npm ci
19
+ - run: npm publish
20
+ env:
21
+ NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments