From fc889f23da65700050f2cc5135c5082376830df7 Mon Sep 17 00:00:00 2001 From: Lewis Dale Date: Thu, 7 Mar 2024 14:55:01 +0000 Subject: [PATCH] Try to cache the eleventy build step --- .gitea/workflows/build-and-copy.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitea/workflows/build-and-copy.yaml b/.gitea/workflows/build-and-copy.yaml index d858cd5..b50cc0f 100644 --- a/.gitea/workflows/build-and-copy.yaml +++ b/.gitea/workflows/build-and-copy.yaml @@ -14,6 +14,12 @@ jobs: node-version: 20.x - name: Install dependencies 📦 run: npm ci + - name: Cache build + id: cache-eleventy-build + uses: actions/cache@v4 + with: + path: .cache + key: cache-eleventy-build - name: Build eleventy run: npm run build env: