From 17ba11694c7a5193efe9b0167d82aa6609eab676 Mon Sep 17 00:00:00 2001 From: bd_ Date: Thu, 9 Nov 2023 18:14:08 +0900 Subject: [PATCH] ci(docs): Show diff on yarn install --immutable failure --- .github/workflows/test-docs-site-build.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/test-docs-site-build.yml b/.github/workflows/test-docs-site-build.yml index e080de95..1f7e0735 100644 --- a/.github/workflows/test-docs-site-build.yml +++ b/.github/workflows/test-docs-site-build.yml @@ -34,3 +34,10 @@ jobs: run: | cd docs-site~ yarn install --immutable + + - name: Display diff on failure + if: ${{ failure() }} + run: | + cd docs-site~ + yarn install && git diff +