File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9595 - run : uv sync --frozen --extra dev
9696 - run : uv run pre-commit run --all-files --show-diff-on-failure
9797
98- frontend-build :
99- name : Frontend Build
100- runs-on : ubuntu-latest
101- # Skips cleanly until ticket #21 lands frontend/package.json.
102- if : hashFiles('frontend/package.json') != ''
103- steps :
104- - uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
105- - uses : actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
106- with :
107- node-version : " 24"
108- cache : npm
109- cache-dependency-path : frontend/package-lock.json
110- - run : cd frontend && npm ci && npm run build
111-
112- frontend-quality :
113- name : Frontend Quality
114- runs-on : ubuntu-latest
115- # Lint + format + tsc + vitest.
116- if : hashFiles('frontend/package.json') != ''
117- steps :
118- - uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
119- - uses : actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
120- with :
121- node-version : " 24"
122- cache : npm
123- cache-dependency-path : frontend/package-lock.json
124- - run : cd frontend && npm ci
125- - run : cd frontend && npm run lint
126- - run : cd frontend && npm run format:check
127- - run : cd frontend && npm run check
128- - run : cd frontend && npm run test
98+ # Frontend jobs (Frontend Build, Frontend Quality) are added by ticket #21
99+ # when frontend/package.json lands; keeping them out of this file avoids the
100+ # workflow-startup failure observed when `if: hashFiles(...)` guards a job
101+ # whose `cache-dependency-path` references a not-yet-existing file.
You can’t perform that action at this time.
0 commit comments