File tree Expand file tree Collapse file tree 1 file changed +15
-5
lines changed
Expand file tree Collapse file tree 1 file changed +15
-5
lines changed Original file line number Diff line number Diff line change 5757 generate_release_notes: true
5858 })
5959 publish :
60- name : Publish to npm
60+ name : Publish
6161 runs-on : ubuntu-latest
6262 needs : [bump-version, create-release]
6363 steps :
6767 ref : ${{ needs.bump-version.outputs.new-tag }}
6868 - name : Preparation
6969 uses : ./.github/actions/setup
70- - name : Build package
71- run : npm run build --if-present
72- - name : Publish
73- run : npm publish --access public
70+ - name : Setup npm registry
71+ uses : actions/setup-node@v2
72+ with :
73+ registry-url : ' https://registry.npmjs.org'
74+ - name : Publish to npm
75+ run : npm publish
7476 env :
7577 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
78+ - name : Setup GHPR
79+ uses : actions/setup-node@v2
80+ with :
81+ registry-url : ' https://npm.pkg.github.com'
82+ - name : Publish to GHPR
83+ run : npm publish
84+ env :
85+ NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments