File tree Expand file tree Collapse file tree 1 file changed +17
-22
lines changed
Expand file tree Collapse file tree 1 file changed +17
-22
lines changed Original file line number Diff line number Diff line change 1313 default : nightly
1414
1515jobs :
16- build-sdk :
16+ build-and-publish :
1717 runs-on : ubuntu-latest
1818 container : node:18
1919 steps :
2020 - uses : actions/checkout@v4
21+
22+ # Build the SDK
2123 - name : Set up sdk
2224 working-directory : packages/sdk
2325 run : |
2426 npm ci
2527 npm run codegen
2628 npm run build
27- - uses : actions/upload-artifact@v4
29+
30+ - name : Publish deserializer package
31+ uses : iExecBlockchainComputing/github-actions-workflows/.github/workflows/publish-npm.yml@feat/publish-npm
2832 with :
29- name : sdk-dist
30- path : packages/sdk/dist
31-
32- publish-npm :
33- needs : [build-sdk]
34- uses : iExecBlockchainComputing/github-actions-workflows/.github/workflows/publish-npm.yml@feat/publish-npm
35- with :
36- scope : ' @iexec/deserializer'
37- registry : ' https://registry.npmjs.org'
38- node-version : ' 18'
39- tag : ${{ github.event.inputs.tag }}
40- environment : ${{ needs.set-env.outputs.resolved-environment }} # For secrets env
41- working-directory : " packages/dataprotector-deserializer"
42- artifact-name : ' sdk-dist'
43- artifact-path : ' packages/sdk/dist'
44- install-command : |
45- npm ci
46- npm run test:prepare
47- secrets :
48- npm-token : ${{ secrets.NPM_TOKEN }}
33+ scope : ' @iexec/deserializer'
34+ registry : ' https://registry.npmjs.org'
35+ node-version : ' 18'
36+ tag : ${{ github.event.inputs.tag }}
37+ environment : production
38+ working-directory : " packages/dataprotector-deserializer"
39+ install-command : |
40+ npm ci
41+ npm run test:prepare
42+ secrets :
43+ npm-token : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments