Skip to content

Commit b1d2912

Browse files
committed
ci wip
1 parent 42718a7 commit b1d2912

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/npm-publish.yml

+15
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,18 @@ jobs:
3535
- run: npm publish
3636
env:
3737
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
38+
39+
publish-gpr:
40+
needs: build
41+
runs-on: ubuntu-latest
42+
steps:
43+
- uses: actions/checkout@v2
44+
- uses: actions/setup-node@v1
45+
with:
46+
node-version: 12
47+
registry-url: https://npm.pkg.github.com/
48+
- run: npm ci
49+
- run: npm run build
50+
- run: npm publish
51+
env:
52+
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 commit comments

Comments
 (0)