Skip to content
This repository was archived by the owner on Oct 26, 2021. It is now read-only.

Commit 5b5e185

Browse files
author
Ludwig Richter
committed
Added Github npm registry publish
1 parent 5e036ac commit 5b5e185

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

.github/workflows/npmpublish.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,16 @@ jobs:
3131
env:
3232
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
3333

34-
# publish-gpr:
35-
# needs: build
36-
# runs-on: ubuntu-latest
37-
# steps:
38-
# - uses: actions/checkout@v1
39-
# - uses: actions/setup-node@v1
40-
# with:
41-
# node-version: 12
42-
# registry-url: https://npm.pkg.github.com/
43-
# scope: '@server-state'
44-
# - run: npm publish
45-
# env:
46-
# NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
34+
publish-gpr:
35+
needs: build
36+
runs-on: ubuntu-latest
37+
steps:
38+
- uses: actions/checkout@v1
39+
- uses: actions/setup-node@v1
40+
with:
41+
node-version: 12
42+
registry-url: https://npm.pkg.github.com/
43+
scope: '@server-state'
44+
- run: npm publish
45+
env:
46+
NODE_AUTH_TOKEN: ${{secrets.gh_token}}

0 commit comments

Comments
 (0)