Remove Quartz caching, rebuild every time

Simpler is better - just clone and npm ci on each build.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Erich Blume 2026-02-03 09:04:47 -08:00
commit 9b87542cae

View file

@ -40,20 +40,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
# Cache Quartz installation (clone + node_modules)
# Quartz version is determined by the mirror (forge.ops.eblu.me/eblume/quartz)
# Bump the cache key number to invalidate (e.g., after mirror update)
- name: Restore Quartz cache
id: cache-quartz
uses: actions/cache@v4
with:
path: /tmp/quartz
key: quartz-1
- name: Setup Quartz
if: steps.cache-quartz.outputs.cache-hit != 'true'
- name: Build docs
run: |
echo "Cache miss - setting up Quartz..."
VERSION="${{ inputs.version }}"
echo "Node version: $(node --version)"
echo "NPM version: $(npm --version)"
@ -64,13 +53,6 @@ jobs:
# Install dependencies
npm ci
echo "Quartz setup complete"
- name: Build docs
run: |
VERSION="${{ inputs.version }}"
cd /tmp/quartz
# Copy our configuration (lives in docs/ to keep repo root clean)
cp "$GITHUB_WORKSPACE/docs/quartz.config.ts" .
cp "$GITHUB_WORKSPACE/docs/quartz.layout.ts" .