Some checks failed
validate theme / validate (push) Has been cancelled
Lifted from skyai-finance into a standalone theme once the choices stabilised. New name earns itself twice: the literal glass refraction, and the hue spectrum the corner glows span (lavender → peach → cyan → mint). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
32 lines
872 B
YAML
32 lines
872 B
YAML
name: validate theme
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
|
|
jobs:
|
|
validate:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: "22"
|
|
|
|
- name: Fetch validator + reference
|
|
run: |
|
|
mkdir -p .ci-scripts
|
|
curl -fsSL -o .ci-scripts/check-theme.mjs \
|
|
https://git.sky-ai.com/CremaUIStudio/core-interface/raw/branch/main/scripts/check-theme.mjs
|
|
git clone --depth 1 \
|
|
https://git.sky-ai.com/CremaUIStudio/lib-theme-pristine.git \
|
|
.ci-scripts/lib-theme-pristine
|
|
|
|
- name: Validate against pristine contract
|
|
run: |
|
|
node .ci-scripts/check-theme.mjs \
|
|
--target=theme.css \
|
|
--reference=.ci-scripts/lib-theme-pristine/theme.css \
|
|
--name=prism
|