File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -46,22 +46,23 @@ jobs:
4646 NODE_AUTH_TOKEN : ${{secrets.npm_token}}
4747 publish-github :
4848 name : Publish to GitHub Packages
49- runs-on : ubuntu-latest
50- permissions :
49+ runs-on : ubuntu-latest
50+ permissions :
5151 contents : read
5252 packages : write
5353 steps :
5454 - uses : actions/checkout@v3
5555 - uses : actions/setup-node@v3
5656 with :
5757 node-version : 18
58- registry-url : https://registry.npmjs.org/
58+ registry-url : https://npm.pkg.github.com
5959 cache : npm
60+ scope : ' @github'
6061 - run : npm ci
6162 - run : npm test
6263 - run : npm version ${TAG_NAME} --git-tag-version=false
6364 env :
6465 TAG_NAME : ${{ github.event.release.tag_name }}
65- - run : npm whoami --registry=https://npm.pkg.github.com; npm -- ignore-scripts publish --access public --registry=https://npm.pkg.github.com
66+ - run : npm -- ignore-scripts publish --access public
6667 env :
6768 NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments