fix: switch naar host executor
This commit is contained in:
1 parent
4ce5f8ae56
commit
15a0007fa7
1 file changed
+4
-4
@@ -26,15 +26,15 @@ jobs:
|
||||
- name: Typecheck, lint, and test
|
||||
run: |
|
||||
set -e
|
||||
echo "--- CI checks starten via HTTPS ---"
|
||||
echo "--- CI checks starten direct op de host ---"
|
||||
node scripts/check-node-toolchain.mjs
|
||||
|
||||
export SKIP_ENV_VALIDATION=1
|
||||
export NODE_ENV=test
|
||||
|
||||
# OPLOSSING: We wijzen naar de MySQL en Redis van de host machine via de Docker gateway
|
||||
export DATABASE_URL="mysql://test:test@172.17.0.1:3306/test?charset=utf8mb4"
|
||||
export REDIS_URL="redis://172.17.0.1:6379?connect_timeout=2"
|
||||
# Nu we op de host draaien, werkt localhost en 127.0.0.1 direct!
|
||||
export DATABASE_URL="mysql://test:test@localhost:3306/test?charset=utf8mb4"
|
||||
export REDIS_URL="redis://127.0.0.1:6379?connect_timeout=2"
|
||||
|
||||
export AUTH_SECRET="ci-test-secret-key-that-is-long-enough"
|
||||
export BCRYPT_ROUNDS=4
|
||||
|
||||
Reference in new issue
Block a user