mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-11-05 01:44:24 +08:00
update 2026-10-13 23:30:23
This commit is contained in:
1 parent
09818a2882
commit
1e69cad46b
710 files changed
+368
-159536
No files matched your search
@@ -1,48 +0,0 @@
|
||||
# Drift guard for the vendored color-token artifacts: tokens.global.js,
|
||||
# color-tokens.conf, and the preset templates are vendored from the
|
||||
# @eamonxg/luci-theme-tokens npm package (published from the luci-theme-tokens
|
||||
# repo) at the version pinned in .dev/package.json. This fails when the
|
||||
# committed artifacts no longer match the pinned package — run
|
||||
# `cd .dev && node scripts/sync-tokens.mjs` locally and commit to fix.
|
||||
name: Token sync check
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: "0 3 * * 1"
|
||||
push:
|
||||
paths:
|
||||
- ".dev/**"
|
||||
- "root/usr/share/aurora/**"
|
||||
pull_request:
|
||||
paths:
|
||||
- ".dev/**"
|
||||
- "root/usr/share/aurora/**"
|
||||
|
||||
jobs:
|
||||
check:
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: .dev
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: pnpm/action-setup@v4
|
||||
with:
|
||||
version: 10
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 22
|
||||
cache: pnpm
|
||||
cache-dependency-path: .dev/pnpm-lock.yaml
|
||||
|
||||
- name: Install
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Check vendored artifacts against the pinned package
|
||||
run: node scripts/sync-tokens.mjs --check
|
||||
|
||||
- name: Run tests
|
||||
run: pnpm test
|
||||
Reference in new issue
Block a user