File tree Expand file tree Collapse file tree 1 file changed +4
-15
lines changed
Expand file tree Collapse file tree 1 file changed +4
-15
lines changed Original file line number Diff line number Diff line change 1313 default : nightly
1414
1515jobs :
16- set-env :
17- runs-on : ubuntu-latest
18- outputs :
19- resolved-environment : ${{ steps.setenv.outputs.env }}
20- steps :
21- - id : setenv
22- run : |
23- if [ "${{ github.event.inputs.tag }}" = "latest" ]; then
24- echo "env=production" >> $GITHUB_OUTPUT
25- else
26- echo "env=staging" >> $GITHUB_OUTPUT
27- fi
28-
2916 publish-npm :
3017 needs : set-env
31- uses : iExecBlockchainComputing/github-actions-workflows/.github/workflows/publish-npm.yml@publish-npm-v1.3.0
18+ uses : iExecBlockchainComputing/github-actions-workflows/.github/workflows/publish-npm.yml@feat/ publish-npm
3219 with :
3320 scope : ' @iexec/deserializer'
3421 registry : ' https://registry.npmjs.org'
3522 node-version : ' 18'
36- environment : ${{ needs.set-env.outputs.resolved-environment }}
23+ tag : ${{ github.event.inputs.tag }}
24+ install-command : ' npm ci && npm run test:prepare'
25+ environment : ${{ needs.set-env.outputs.resolved-environment }} # For secrets env
3726 working-directory : " packages/dataprotector-deserializer"
3827 secrets :
3928 npm-token : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments