Add preview-only Decap CMS pilot

This commit is contained in:
Kevin
2026-09-04 00:33:03 -04:00
parent ee1010d751
commit 7eeb9e1e01
12 changed files with 759 additions and 10 deletions
@@ -0,0 +1,34 @@
name: CMS content validation
on:
pull_request:
branches: [main]
jobs:
validate:
name: cms-content-validation
runs-on: ubuntu-latest
timeout-minutes: 15
permissions:
contents: read
env:
ASTRO_TELEMETRY_DISABLED: '1'
steps:
- name: Checkout source
uses: https://github.com/actions/checkout@v4
- name: Use Node 22
uses: https://github.com/actions/setup-node@v4
with:
node-version: 22
- name: Install locked dependencies
run: npm ci
- name: Verify Decap configuration and content boundaries
run: npm run verify:cms
- name: Build primary site
run: SITE_KEY=www npm run build:site
- name: Verify primary site
run: SITE_KEY=www npm run verify:build
- name: Build blog
run: SITE_KEY=blog npm run build:site
- name: Verify blog
run: SITE_KEY=blog npm run verify:build