From 778f696074007a79c83932dcfe7357bca48b7357 Mon Sep 17 00:00:00 2001 From: Tobias Klemp Date: Wed, 3 Dec 2025 23:42:30 +0100 Subject: [PATCH] added logs --- .gitea/workflows/ci.yml | 41 +++++++++++++++++++++++++++++++++++++---- 1 file changed, 37 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 5a15b1a..f77b85f 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -15,6 +15,16 @@ jobs: - name: Checkout code uses: actions/checkout@v4 + - name: Debug workspace and files + run: | + echo "Current directory: $(pwd)" + echo "Files in current directory:" + ls -la + echo "Checking for bun.lock:" + find . -name "bun.lock" -type f + echo "Hash of bun.lock:" + find . -name "bun.lock" -exec sha256sum {} \; + - name: Cache node_modules id: cache uses: actions/cache@v4 @@ -24,9 +34,23 @@ jobs: restore-keys: | ${{ runner.os }}-bun- + - name: Debug cache result + run: | + echo "Cache hit: ${{ steps.cache.outputs.cache-hit }}" + echo "Cache key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lock') }}" + echo "Files after cache restore:" + ls -la + - name: Install Dependencies run: bun i --frozen-lockfile + - name: Debug after install + run: | + echo "Files after bun install:" + ls -la + echo "node_modules exists:" + test -d node_modules && echo "YES" || echo "NO" + type-check: runs-on: ubuntu-latest container: @@ -36,6 +60,13 @@ jobs: - name: Checkout code uses: actions/checkout@v4 + - name: Debug workspace + run: | + echo "Current directory: $(pwd)" + echo "Files in current directory:" + ls -la + echo "Cache key would be: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lock') }}" + - name: Cache node_modules id: cache uses: actions/cache@v4 @@ -45,8 +76,13 @@ jobs: restore-keys: | ${{ runner.os }}-bun- + - name: Debug cache result + run: | + echo "Cache hit: ${{ steps.cache.outputs.cache-hit }}" + echo "Files after cache restore:" + ls -la + - name: Install dependencies - if: steps.cache.outputs.cache-hit != 'true' run: bun install --frozen-lockfile - name: Run type checking @@ -71,7 +107,6 @@ jobs: ${{ runner.os }}-bun- - name: Install dependencies - if: steps.cache.outputs.cache-hit != 'true' run: bun install --frozen-lockfile - name: Run linting @@ -96,7 +131,6 @@ jobs: ${{ runner.os }}-bun- - name: Install dependencies - if: steps.cache.outputs.cache-hit != 'true' run: bun install --frozen-lockfile - name: Check formatting @@ -121,7 +155,6 @@ jobs: ${{ runner.os }}-bun- - name: Install dependencies - if: steps.cache.outputs.cache-hit != 'true' run: bun install --frozen-lockfile - name: Build application