File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,10 +26,15 @@ jobs:
2626 id : package
2727 with :
2828 node-version : ${{ env.NODE_VERSION }}
29- registry-url : ' https://registry.npmjs.org '
30- registry-token : ${{ secrets.NPM_TOKEN }}
29+ registry-url : ' https://npm.pkg.github.com '
30+ registry-token : ${{ secrets.GITHUB_TOKEN }}
3131 increment : ${{ github.event.inputs.increment }}
3232 preid : ${{ github.event.inputs.preid }}
3333 - uses : aboutbits/github-actions-base/github-create-release@v2
3434 with :
3535 tag-name : ' v${{ steps.package.outputs.version }}'
36+ release-description : |
37+ ```bash
38+ npm install ${{ steps.package.outputs.name }}@^${{ steps.package.outputs.version }}
39+ ```
40+ release-notes-generation : ' true'
Original file line number Diff line number Diff line change 1818 - uses : aboutbits/github-actions-node/setup-and-install@v3
1919 with :
2020 node-version : ${{ matrix.node_version }}
21+ registry-url : ' https://npm.pkg.github.com'
22+ registry-token : ${{ secrets.GITHUB_TOKEN }}
2123 - name : Lint
2224 run : npm run lint
2325 shell : bash
3638 - uses : aboutbits/github-actions-node/setup-and-install@v3
3739 with :
3840 node-version : ${{ matrix.node_version }}
41+ registry-url : ' https://npm.pkg.github.com'
42+ registry-token : ${{ secrets.GITHUB_TOKEN }}
3943 - name : Test
4044 run : npm run test
4145 shell : bash
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/" ,
You can’t perform that action at this time.
0 commit comments