Skip to content

Commit 1825f99

Browse files
authored
Update npm-publish.yml
1 parent f9566a4 commit 1825f99

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/npm-publish.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,18 @@ jobs:
2121
- run: npm install
2222
- run: npm test
2323

24-
24+
publish-npm:
25+
needs: build
26+
runs-on: ubuntu-latest
27+
steps:
28+
- uses: actions/checkout@v2
29+
- uses: actions/setup-node@v1
30+
with:
31+
node-version: 12
32+
registry-url: https://registry.npmjs.org/
33+
- run: npm publish
34+
env:
35+
NODE_AUTH_TOKEN: ${{secrets.NPM_API_KEY}}
2536

2637
publish-gpr:
2738
needs: build

0 commit comments

Comments
 (0)