From b48adacf5173ea28dacd201dff9eea155a09fa97 Mon Sep 17 00:00:00 2001 From: Danilo Reyes Date: Sun, 2 Nov 2025 12:31:19 -0600 Subject: [PATCH] ci: add clean checkout and verification for frontend linting - Force clean checkout to avoid stale cached files - Clean /tmp/frontend-build before copying - Add verification step to list lib directory contents - This should resolve persistent frontend linting errors in CI --- .gitea/workflows/ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index dbd4e16..9807ae3 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -58,12 +58,21 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 + with: + clean: true - name: Install dependencies and run linting run: | + # Clean any previous build artifacts + rm -rf /tmp/frontend-build + # Copy frontend to /tmp to avoid noexec issues with DynamicUser cp -r frontend /tmp/frontend-build + # Verify lib files are present + echo "Verifying frontend lib files..." + ls -la /tmp/frontend-build/src/lib/ || echo "WARNING: lib directory not found!" + # Install dependencies in executable location nix develop --quiet --command bash -c " cd /tmp/frontend-build