Skip to content

Commit 323a0cf

Browse files
authored
fix(ci): Build sdk packages with the correct envs (#6772)
1 parent 11a3c3e commit 323a0cf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/changesets_publish.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55

66
concurrency: ${{ github.workflow }}-${{ github.ref }}
77

8+
env:
9+
IOTA_NETWORKS: ${{ secrets.CHANGESETS_IOTA_NETWORKS }}
10+
DEFAULT_NETWORK: ${{ secrets.CHANGESETS_DEFAULT_NETWORK }}
11+
812
jobs:
913
publish:
1014
runs-on: self-hosted-x64
@@ -23,5 +27,7 @@ jobs:
2327
run: pnpm install --frozen-lockfile
2428
- name: NPM login
2529
run: npm set "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}"
30+
- name: Build packages
31+
run: pnpm turbo run build --filter=./sdk/*
2632
- name: Publish packages
2733
run: pnpm changeset-publish --no-git-tag

0 commit comments

Comments
 (0)