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
This commit is contained in:
czlonkowski
2025-10-04 10:27:53 +02:00
parent 2f18a2bb9a
commit 12a7f1e8bf

View File

@@ -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