Skip to content

Commit 9f451d6

Browse files
authored
mimic deleted release workflow
#70
1 parent 7669952 commit 9f451d6

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,17 @@ jobs:
2727
runs-on: ubuntu-latest
2828
steps:
2929
- uses: actions/checkout@v3
30-
- uses: actions/setup-node@v3
30+
- name: Setup GHPR
31+
uses: actions/setup-node@v3
3132
with:
3233
node-version: 14
33-
registry-url: https://registry.npmjs.org/
34-
cache: npm
34+
registry-url: 'https://npm.pkg.github.com'
3535
- run: npm ci
3636
- run: npm test
3737
- run: npm version ${TAG_NAME} --git-tag-version=false
3838
env:
3939
TAG_NAME: 1.4.2
40-
- run: npm whoami; npm publish --@github:registry='https://npm.pkg.github.com'
40+
- name: Publish to GHPR
41+
run: npm publish
4142
env:
4243
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)