Skip to content

Commit 6d8ee54

Browse files
authored
Don't publish to gpr
We've never published this package to GPR
1 parent f911a6a commit 6d8ee54

File tree

1 file changed

+1
-29
lines changed

1 file changed

+1
-29
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,8 @@ name: Publish
33
on:
44
release:
55
types: [created]
6-
workflow_dispatch:
7-
inputs:
8-
version:
9-
description: 'Version to publish'
10-
required: true
116

127
jobs:
13-
148
publish-npm:
159
runs-on: ubuntu-latest
1610
steps:
@@ -24,29 +18,7 @@ jobs:
2418
- run: npm test
2519
- run: npm version ${TAG_NAME} --git-tag-version=false
2620
env:
27-
TAG_NAME: ${{ github.event.inputs.version || github.event.release.tag_name }}
21+
TAG_NAME: ${{ github.event.release.tag_name }}
2822
- run: npm whoami; npm --ignore-scripts publish
2923
env:
3024
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
31-
32-
publish-gpr:
33-
runs-on: ubuntu-latest
34-
steps:
35-
- uses: actions/checkout@v2
36-
- uses: actions/setup-node@v2
37-
with:
38-
node-version: 14
39-
registry-url: https://registry.npmjs.org/
40-
- run: npm ci
41-
- run: npm run build --if-present
42-
- run: npm test
43-
- run: npm version ${TAG_NAME} --git-tag-version=false
44-
env:
45-
TAG_NAME: ${{ github.event.inputs.version || github.event.release.tag_name }}
46-
- uses: actions/setup-node@v2
47-
with:
48-
node-version: 14
49-
registry-url: https://npm.pkg.github.com/
50-
- run: npm --ignore-scripts publish
51-
env:
52-
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 commit comments

Comments
 (0)