From b7cd98da5467c1acbe557152ecd51481ed119c8e Mon Sep 17 00:00:00 2001 From: cte Date: Fri, 31 Jan 2025 21:44:50 -0800 Subject: [PATCH] Don't run the `integration-test` job if there's no API key --- .github/workflows/code-qa.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/code-qa.yml b/.github/workflows/code-qa.yml index f17a648..6f23421 100644 --- a/.github/workflows/code-qa.yml +++ b/.github/workflows/code-qa.yml @@ -44,6 +44,7 @@ jobs: run: npm test integration-test: + if: "${{ secrets.OPENROUTER_API_KEY != '' }}" strategy: matrix: os: [ubuntu-latest] # macos-latest, windows-latest