File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed
Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -44,16 +44,14 @@ jobs:
4444 fi
4545 env :
4646 VERSION : ${{ inputs.tag }}
47- # Setup .npmrc file to publish to GitHub Packages
48- - name : Configure node with GitHub Packages
47+ - name : Setup node
4948 uses : actions/setup-node@v4
5049 with :
5150 cache : yarn
5251 node-version : ' 16'
53- registry-url : https://npm.pkg.github.com
5452 - run : yarn install --frozen-lockfile
5553 - name : Publish to GitHub Packages
56- run : npm publish --provenance
54+ run : npm publish --provenance --registry=https://npm.pkg.github.com/
5755 env :
5856 NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5957 - name : Publish to npmjs.org
Original file line number Diff line number Diff line change 2121 with :
2222 cache : yarn
2323 node-version : ' 16'
24- registry-url : https://npm.pkg.github.com
2524 - name : install dependencies
2625 run : yarn install --frozen-lockfile
2726 - name : lint markdown
3130 - name : Set development version
3231 run : yarn version --no-git-tag-version --new-version "0.0.0-sha.${{ github.sha }}"
3332 - name : Publish development version
34- run : npm publish --provenance
33+ run : npm publish --provenance --registry=https://npm.pkg.github.com/
3534 env :
3635 NODE_AUTH_TOKEN : ${{ github.token }}
You can’t perform that action at this time.
0 commit comments