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=skyai-finance