chore(css): ensure css are not using direct colors

This commit is contained in:
Edouard Vanbelle
2026-04-13 17:29:53 +02:00
parent 37ffa85ab7
commit 11973cae2a
2 changed files with 38 additions and 1 deletions
+11 -1
View File
@@ -32,6 +32,8 @@ jobs:
frontend:
- 'static/**'
- 'biome.json'
- '.grit'
- '.stylelintrc.json'
- 'jsconfig.json'
backend:
- 'src/**'
@@ -39,7 +41,7 @@ jobs:
- 'Cargo.lock'
frontend-linter:
name: Frontend — Biome
name: Frontend — CSS and JS checks (format, lint, rules, etc)
needs: changes
if: needs.changes.outputs.frontend == 'true'
runs-on: ubuntu-latest
@@ -52,6 +54,14 @@ jobs:
- name: Run Biome check
run: biome ci static/
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 25
- name: Run Stylelint
run: npx stylelint "**/*.{css,scss}"
rust-fmt:
name: Rustfmt
needs: changes