File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 99 commit_sha :
1010 description : ' The full commit id to build'
1111 required : true
12+ package_url :
13+ description : ' Staging package url'
14+ required : false
1215
1316jobs :
1417 comment-run :
4750 if (result.status !== 201) {
4851 console.log('Failed to create check run')
4952 }
53+
54+ - name : Setup staging npm package
55+ if : ${{ github.event.inputs.package_url != '' }}
56+ run : |
57+ echo 'Publishing tar.gz to local registry'
58+ curl -o staging_package.tgz '${{ github.event.inputs.package_url }}'
59+ npm install verdaccio -g
60+ verdaccio &
61+ npm config set registry http://localhost:4873
62+ npm install -g npm-cli-adduser && npm-cli-adduser -u dummy -p dummy -e dummy@gmail.com -r http://localhost:4873
63+ npm publish staging_package.tgz --registry http://localhost:4873/
64+ shell : bash
65+
5066 - name : Setup node
5167 uses : actions/setup-node@v3
5268 with :
You can’t perform that action at this time.
0 commit comments