diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 31a9b0261bbcf..482950af8045b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -57,9 +57,14 @@ jobs: - run: npm ci - name: Tests + id: test # run tests, but lint separately run: npm run test -- --no-lint --bundle=${{ matrix.bundle }} + - name: Print baseline diff on failure + if: ${{ failure() && steps.test.conclusion == 'failure' }} + run: git diff --diff-filter=AM --no-index -- ./tests/baselines/reference ./tests/baselines/local + lint: runs-on: ubuntu-latest