From 150aa67971be94c74ec260a6cc24ac1f327c432a Mon Sep 17 00:00:00 2001 From: Timo Behrendt Date: Sun, 31 May 2026 10:58:07 +0200 Subject: [PATCH] ci: add bun dep cache --- .gitea/workflows/ci.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index b705513..72f7c57 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -15,7 +15,16 @@ jobs: with: bun-version-file: ".bun-version" + - name: Cache dependencies + id: cache-deps + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 + with: + path: | + node_modules + key: ${{ runner.os }}-bun-${{ hashFiles('bun.lockb') }} + - name: Install dependencies + if: steps.cache-deps.outputs.cache-hit != 'true' run: bun install --frozen-lockfile - name: Run lint