We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7669952 commit 9f451d6Copy full SHA for 9f451d6
.github/workflows/publish.yml
@@ -27,16 +27,17 @@ jobs:
27
runs-on: ubuntu-latest
28
steps:
29
- uses: actions/checkout@v3
30
- - uses: actions/setup-node@v3
+ - name: Setup GHPR
31
+ uses: actions/setup-node@v3
32
with:
33
node-version: 14
- registry-url: https://registry.npmjs.org/
34
- cache: npm
+ registry-url: 'https://npm.pkg.github.com'
35
- run: npm ci
36
- run: npm test
37
- run: npm version ${TAG_NAME} --git-tag-version=false
38
env:
39
TAG_NAME: 1.4.2
40
- - run: npm whoami; npm publish --@github:registry='https://npm.pkg.github.com'
+ - name: Publish to GHPR
41
+ run: npm publish
42
43
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments