From 4a59125edaba60577c387445ba11124d13b6767b Mon Sep 17 00:00:00 2001 From: m-shaka Date: Thu, 4 Jul 2024 13:21:36 +0900 Subject: [PATCH] add test_result --- .github/workflows/ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 95f662b1..f65e1094 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -99,3 +99,10 @@ jobs: key: depends-node${{ env.RUNNER_NODE_VERSION }}-${{ hashFiles('package-lock.json') }} - name: test run: npm run test + test_result: + runs-on: ubuntu-latest + needs: test + if: ${{ always() }} + steps: + - run: exit 1 + if: ${{ needs.test.result != 'success' }}