From bba992102bcd5145fef0f3199e3e866463dcea0d Mon Sep 17 00:00:00 2001 From: Benjamin Date: Wed, 5 Nov 2025 21:02:26 +0100 Subject: [PATCH] fix: copy locales and templates for e2e-tests GitHub Actions workflow The e2e-tests workflow was failing because the application couldn't find the locales/en.json and templates files. These files are in backend/locales and backend/templates, but the standalone binary expects them at the root. This commit adds a step to copy these directories before starting the server. --- .github/workflows/e2e-tests.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index 739cdde..ff0d5b3 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -75,6 +75,11 @@ jobs: echo "test_private_key_base64_encoded_here" > /tmp/ed25519.key fi + - name: Copy locales and templates + run: | + cp -r backend/locales . + cp -r backend/templates . + - name: Start Ackify server env: ACKIFY_DB_DSN: "postgres://postgres:testpassword@localhost:5432/ackify_test?sslmode=disable"