From 12a7f1e8bf38ed34e28fa91999caeada10b674d2 Mon Sep 17 00:00:00 2001 From: czlonkowski <56956555+czlonkowski@users.noreply.github.com> Date: Sat, 4 Oct 2025 10:27:53 +0200 Subject: [PATCH] fix: pass n8n credentials as environment variables to integration tests - Add N8N_API_URL and N8N_API_KEY secrets to integration test step - Add all webhook URL secrets to integration test step - Fixes CI tests failing with default test values instead of real credentials --- .github/workflows/test.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0200ec1..b346445 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -72,6 +72,12 @@ jobs: run: npm run test:integration -- --reporter=default --reporter=junit env: CI: true + N8N_API_URL: ${{ secrets.N8N_API_URL }} + N8N_API_KEY: ${{ secrets.N8N_API_KEY }} + N8N_TEST_WEBHOOK_GET_URL: ${{ secrets.N8N_TEST_WEBHOOK_GET_URL }} + N8N_TEST_WEBHOOK_POST_URL: ${{ secrets.N8N_TEST_WEBHOOK_POST_URL }} + N8N_TEST_WEBHOOK_PUT_URL: ${{ secrets.N8N_TEST_WEBHOOK_PUT_URL }} + N8N_TEST_WEBHOOK_DELETE_URL: ${{ secrets.N8N_TEST_WEBHOOK_DELETE_URL }} # Generate test summary - name: Generate test summary