File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-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 :
5255 with :
5356 node-version : ${{ matrix.node }}
5457
58+ - name : Setup staging npm package
59+ if : ${{ github.event.inputs.package_url != '' }}
60+ run : |
61+ echo 'Publishing tar.gz to local registry'
62+ curl -o staging_package.tgz '${{ github.event.inputs.package_url }}'
63+ npm install verdaccio -g
64+ verdaccio &
65+ npm config set registry http://localhost:4873
66+ npm install -g npm-cli-adduser && npm-cli-adduser -u dummy -p dummy -e dummy@gmail.com -r http://localhost:4873
67+ npm publish staging_package.tgz --registry http://localhost:4873/
68+
5569 - name : Install dependencies
5670 run : npm install
5771
You can’t perform that action at this time.
0 commit comments