From 6c660c01cd26b2ba23db75e0b30de6f2c1e8d241 Mon Sep 17 00:00:00 2001 From: Tommaso Casaburi Date: Sun, 7 Jun 2026 23:13:45 +0700 Subject: [PATCH] ci(release): run react doctor against previous tag --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 52f2feb8..fca4451c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -44,7 +44,9 @@ jobs: - name: Build React app run: CI='' NODE_ENV=production yarn build - name: Run React Doctor - run: yarn doctor + run: | + PREVIOUS_TAG=$(git describe --tags --abbrev=0 HEAD^) + yarn doctor --diff "$PREVIOUS_TAG" --annotations - name: Install Chromium for smoke tests run: npx playwright install --with-deps chromium - name: Smoke test built web app