Quartz sync: Aug 8, 2026, 6:06 PM
Deploy v5 Preview / Deploy v5 to Cloudflare Pages (push) Canceled after 0s
Docker build & push image / build (push) Canceled after 0s
Build and Test / build-and-test (macos-latest) (push) Canceled after 0s
Build and Test / build-and-test (ubuntu-latest) (push) Canceled after 0s
Build and Test / build-and-test (windows-latest) (push) Canceled after 0s
Build and Test / publish-tag (push) Canceled after 0s

This commit is contained in:
2026-08-08 18:06:55 -04:00
parent 32ef7db900
commit 6e9c285d00
20 changed files with 1119 additions and 235 deletions
+54
View File
@@ -0,0 +1,54 @@
name: Build Preview Deployment
on:
pull_request:
types: [opened, synchronize]
workflow_dispatch:
jobs:
build-preview:
if: ${{ github.repository == 'jackyzha0/quartz' }}
runs-on: ubuntu-latest
name: Build Preview
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v6
with:
node-version: 22
- name: Cache dependencies
uses: actions/cache@v5
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Cache Quartz plugins
uses: actions/cache@v5
with:
path: .quartz/plugins
key: ${{ runner.os }}-plugins-${{ hashFiles('quartz.lock.json') }}
restore-keys: |
${{ runner.os }}-plugins-
- run: npm install
- name: Install Quartz plugins
run: npx quartz plugin install
- name: Check types and style
run: npm run check
- name: Build Quartz
run: npx quartz build -d docs -v
- name: Upload build artifact
uses: actions/upload-artifact@v7
with:
name: preview-build
path: public