Skip to content

Commit

Permalink
chore: update release workflow in order to generate types (#670)
Browse files Browse the repository at this point in the history
  • Loading branch information
devdanco authored Jan 3, 2024
1 parent 8f9652b commit 6e1dcd2
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/branch-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
GIT_BRANCH: ${{ steps.set_vars.outputs.GIT_BRANCH }}
RELEASE_BRANCH_PATTERN: ${{ steps.set_vars.outputs.RELEASE_BRANCH_PATTERN }}
RELEASE_TAG: ${{ steps.set_vars.outputs.RELEASE_TAG }}
GIT_BRANCH_UNFORMATTED: ${{ steps.branch-name.outputs.current_branch }}
steps:
- name: Get branch name
id: branch-name
Expand Down Expand Up @@ -114,9 +115,19 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
env: pr-${{ github.event.number }}

generate-types:
name: Generate types
needs: [ init, build-and-test ]
uses: ./.github/workflows/reusable-generate-types.yml
secrets: inherit
with:
branch: ${{ needs.init.outputs.GIT_BRANCH_UNFORMATTED }}
parachainDocker: ${{ github.event.inputs.parachainDocker }}
globalVersion: ${{ needs.init.outputs.GLOBAL_VERSION }}

run-e2e-test:
name: Run e2e tests
needs: [init, validate-branch-name, build-and-test]
needs: [init, validate-branch-name, build-and-test, generate-types]
uses: ./.github/workflows/reusable-e2e-tests.yml
secrets: inherit
permissions:
Expand Down

0 comments on commit 6e1dcd2

Please sign in to comment.