gamecult-site/.github/workflows/pr-build.yml
Void 875fb8ad09
Some checks failed
Deploy Quartz / build (push) Failing after 1s
Deploy Quartz / deploy-1 (push) Has been skipped
Deploy Quartz / deploy (push) Failing after 0s
Tokenise the three literal grouping hairlines; one-rule-token probe (#18)
2026-11-09 16:01:38 +00:00

46 lines
1.1 KiB
YAML

name: PR Build Check
on:
pull_request:
permissions:
contents: read
concurrency:
group: pr-build-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout site repository
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Checkout shared Quartz engine
uses: actions/checkout@v4
with:
repository: GameCult/GameCult-Quartz
ref: main
path: GameCult-Quartz
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 24
cache: npm
cache-dependency-path: GameCult-Quartz/package-lock.json
- name: Install shared engine dependencies
working-directory: GameCult-Quartz
run: npm ci
- name: Build site through shared Quartz
run: >
node GameCult-Quartz/scripts/build-site.mjs build
--siteRoot "$GITHUB_WORKSPACE"
--contentDir GameCult
--overlayDir site
--outputDir quartz-site/public