diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b41c4cf2..3b0a2506 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -33,6 +33,7 @@ jobs: test: runs-on: ubuntu-latest needs: test_matrix + if: always() steps: - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 - uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3 @@ -47,3 +48,9 @@ jobs: # https://github.com/lirantal/lockfile-lint#readme - name: Scan lockfile for security issues run: npx lockfile-lint --path package-lock.json + - name: All matrix versions passed + if: ${{ !(contains(needs.*.result, 'failure')) }} + run: exit 0 + - name: Some matrix version failed + if: ${{ contains(needs.*.result, 'failure') }} + run: exit 1