File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -22,14 +22,21 @@ jobs:
2222 with :
2323 token : ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
2424 - uses : aboutbits/github-actions-base/git-setup@v2
25+ - uses : aboutbits/github-actions-node/configure-github-npm-registry-access@v3
26+ - uses : aboutbits/github-actions-node/configure-github-npm-registry-organization@v3
2527 - uses : aboutbits/github-actions-node/build-and-publish-package@v3
2628 id : package
2729 with :
2830 node-version : ${{ env.NODE_VERSION }}
29- registry-url : ' https://registry.npmjs.org '
30- registry-token : ${{ secrets.NPM_TOKEN }}
31+ registry-url : ' https://npm.pkg.github.com '
32+ registry-token : ${{ secrets.GITHUB_TOKEN }}
3133 increment : ${{ github.event.inputs.increment }}
3234 preid : ${{ github.event.inputs.preid }}
3335 - uses : aboutbits/github-actions-base/github-create-release@v2
3436 with :
3537 tag-name : ' v${{ steps.package.outputs.version }}'
38+ release-description : |
39+ ```bash
40+ npm install ${{ steps.package.outputs.name }}@^${{ steps.package.outputs.version }}
41+ ```
42+ release-notes-generation : ' true'
Original file line number Diff line number Diff line change 1919 ],
2020 "private" : false ,
2121 "publishConfig" : {
22+ "registry" : " https://npm.pkg.github.com" ,
2223 "access" : " public"
2324 },
2425 "main" : " dist/index.js" ,
You can’t perform that action at this time.
0 commit comments