From 5603922b52ad47b29552e1079bb9c2789a48eb8e Mon Sep 17 00:00:00 2001 From: AlCalzone Date: Mon, 4 Nov 2024 13:38:51 +0100 Subject: [PATCH] chore: run codegen before release (#7357) --- .github/workflows/test-and-release.yml | 4 ---- .releaseconfig.json | 5 +++++ 2 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 .releaseconfig.json diff --git a/.github/workflows/test-and-release.yml b/.github/workflows/test-and-release.yml index b7ea14fed8af..29e60ad77c86 100644 --- a/.github/workflows/test-and-release.yml +++ b/.github/workflows/test-and-release.yml @@ -232,10 +232,6 @@ jobs: node-version: ${{ matrix.node-version }} githubToken: ${{ secrets.GITHUB_TOKEN }} - # When doing releases, some tests need the generated code to be up to date - - name: Perform code generation - run: yarn turbo run codegen - # # For pull requests, only run tests for changed files # - name: Run component tests (changes) # if: github.event_name == 'pull_request' diff --git a/.releaseconfig.json b/.releaseconfig.json new file mode 100644 index 000000000000..a83deb4e5fe0 --- /dev/null +++ b/.releaseconfig.json @@ -0,0 +1,5 @@ +{ + "exec": { + "before_commit": "yarn turbo run codegen" + } +}