Skip to content

Commit 5349cbb

Browse files
committed
ci(deserializer): add build step for SDK in npm publishing workflow
1 parent 7f27683 commit 5349cbb

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

.github/workflows/publish-npm-deserializer.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,24 @@ on:
1313
default: nightly
1414

1515
jobs:
16+
build-sdk:
17+
runs-on: ubuntu-latest
18+
container: node:18
19+
steps:
20+
- uses: actions/checkout@v4
21+
- name: Set up sdk
22+
working-directory: packages/sdk
23+
run: |
24+
npm ci
25+
npm run codegen
26+
npm run build
27+
- uses: actions/upload-artifact@v4
28+
with:
29+
name: sdk-dist
30+
path: packages/sdk/dist
31+
1632
publish-npm:
17-
needs: set-env
33+
needs: [build-sdk]
1834
uses: iExecBlockchainComputing/github-actions-workflows/.github/workflows/publish-npm.yml@feat/publish-npm
1935
with:
2036
scope: '@iexec/deserializer'

0 commit comments

Comments
 (0)