Try to cache the eleventy build step
Some checks failed
Build and copy to prod / build-and-copy (push) Has been cancelled

This commit is contained in:
Lewis Dale 2024-03-07 14:55:01 +00:00
parent bf3d4fcf1b
commit fc889f23da

View File

@ -14,6 +14,12 @@ jobs:
node-version: 20.x node-version: 20.x
- name: Install dependencies 📦 - name: Install dependencies 📦
run: npm ci run: npm ci
- name: Cache build
id: cache-eleventy-build
uses: actions/cache@v4
with:
path: .cache
key: cache-eleventy-build
- name: Build eleventy - name: Build eleventy
run: npm run build run: npm run build
env: env: