Skip to content

Commit 1027911

Browse files
authored
remove gpr (#15)
* remove gpr * only PR runs for main
1 parent 440738d commit 1027911

1 file changed

Lines changed: 0 additions & 21 deletions

File tree

.github/workflows/publish-github.yml

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
name: Node.js Package
22
on:
3-
push:
4-
braches:
5-
- main
63
pull_request:
74
branches:
85
- main
@@ -39,21 +36,3 @@ jobs:
3936
- run: npm publish
4037
env:
4138
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
42-
43-
publish-gpr:
44-
needs: build
45-
if: github.ref == 'refs/heads/main'
46-
runs-on: ubuntu-latest
47-
steps:
48-
- uses: actions/checkout@v2
49-
- uses: actions/setup-node@v1
50-
with:
51-
node-version: 12
52-
registry-url: https://npm.pkg.github.com
53-
always-auth: true
54-
scope: "@andrejpk"
55-
- run: npm install
56-
- run: npm run build
57-
- run: npm publish
58-
env:
59-
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 commit comments

Comments
 (0)