diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dca2fb38..013532be 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -134,11 +134,6 @@ jobs: echo "branch=release/v$NEW_VERSION" >> $GITHUB_OUTPUT echo "New version: $NEW_VERSION" - - name: Update snapshots after CDK sync - run: | - npm run test:update-snapshots - echo "✓ Snapshots updated" - - name: Regenerate JSON schema run: | npm run build @@ -146,6 +141,11 @@ jobs: npx prettier --write schemas/ echo "✓ JSON schema regenerated and formatted" + - name: Update snapshots after CDK sync + run: | + npm run test:update-snapshots + echo "✓ Snapshots updated" + - name: Create release branch and PR env: NEW_VERSION: ${{ steps.bump.outputs.version }}