File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 3535 if : ${{ steps.release.outputs.release_created }}
3636 - run : yarn dist
3737 if : ${{ steps.release.outputs.release_created }}
38- - name : Upload artifacts
39- uses : actions/upload-artifact@v4
38+ - uses : actions/upload-artifact@v4
4039 if : ${{ steps.release.outputs.release_created }}
4140 with :
4241 name : dist
@@ -56,18 +55,20 @@ jobs:
5655 runs-on : ubuntu-latest
5756 needs : release-github
5857 if : ${{ needs.release-github.outputs.release_created == 'true' }}
58+ permissions :
59+ contents : write
60+ pull-requests : write
61+ id-token : write
5962 env :
6063 YARN_RC_FILENAME : .yarnrc-public.yml
6164 steps :
6265 - uses : actions/checkout@v5
6366 - uses : actions/setup-node@v6
6467 with :
6568 node-version-file : ' .tool-versions'
66- - name : Download dist artifacts
67- uses : actions/download-artifact@v4
69+ registry-url : ' https://registry.npmjs.org '
70+ - uses : actions/download-artifact@v4
6871 with :
6972 name : dist
7073 - name : Publish to npm
71- run : |
72- npm config set registry https://registry.npmjs.org
73- npm publish --access public
74+ run : npm publish --access public
You can’t perform that action at this time.
0 commit comments