From 184d26c06476fb9274290b7a6f0e80d9d90c1be5 Mon Sep 17 00:00:00 2001 From: Nick Frasser <1693461+nfrasser@users.noreply.github.com> Date: Tue, 21 Nov 2023 22:00:53 -0500 Subject: [PATCH] Prevent integration test from running without credentials Check that secrets are defined before allowing to run --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 487bb2a..7fd7be3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,6 +29,7 @@ jobs: integration: runs-on: ubuntu-latest needs: unit + if: ${{ secrets.BROWSERSTACK_USERNAME != "" && secrets.BROWSERSTACK_ACCESS_KEY != "" }} steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3