Skip to content

Commit 6e1dcd2

Browse files
authored
chore: update release workflow in order to generate types (#670)
1 parent 8f9652b commit 6e1dcd2

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/branch-release.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ jobs:
4646
GIT_BRANCH: ${{ steps.set_vars.outputs.GIT_BRANCH }}
4747
RELEASE_BRANCH_PATTERN: ${{ steps.set_vars.outputs.RELEASE_BRANCH_PATTERN }}
4848
RELEASE_TAG: ${{ steps.set_vars.outputs.RELEASE_TAG }}
49+
GIT_BRANCH_UNFORMATTED: ${{ steps.branch-name.outputs.current_branch }}
4950
steps:
5051
- name: Get branch name
5152
id: branch-name
@@ -114,9 +115,19 @@ jobs:
114115
token: ${{ secrets.GITHUB_TOKEN }}
115116
env: pr-${{ github.event.number }}
116117

118+
generate-types:
119+
name: Generate types
120+
needs: [ init, build-and-test ]
121+
uses: ./.github/workflows/reusable-generate-types.yml
122+
secrets: inherit
123+
with:
124+
branch: ${{ needs.init.outputs.GIT_BRANCH_UNFORMATTED }}
125+
parachainDocker: ${{ github.event.inputs.parachainDocker }}
126+
globalVersion: ${{ needs.init.outputs.GLOBAL_VERSION }}
127+
117128
run-e2e-test:
118129
name: Run e2e tests
119-
needs: [init, validate-branch-name, build-and-test]
130+
needs: [init, validate-branch-name, build-and-test, generate-types]
120131
uses: ./.github/workflows/reusable-e2e-tests.yml
121132
secrets: inherit
122133
permissions:

0 commit comments

Comments
 (0)