ci: add typescript check (no emit, check only types are fully declared)

This commit is contained in:
Edouard Vanbelle
2026-05-18 23:16:09 +02:00
parent 82561a2b90
commit a181d4081e
2 changed files with 11 additions and 4 deletions
+7 -3
View File
@@ -42,7 +42,7 @@ jobs:
- 'tests/**'
frontend-check:
name: Frontend — CSS and JS checks (format, lint, rules)
name: Frontend — CSS and JS checks (format, lint, css-rules, types)
needs: changes
if: needs.changes.outputs.frontend == 'true'
runs-on: ubuntu-latest
@@ -61,16 +61,20 @@ jobs:
node-version: 25
# because we are not using package.json
- name: Install Stylelint and plugins
- name: Install Stylelint, TypeScript and plugins
run: |
npm install --global \
stylelint@17 \
postcss@8 \
stylelint-value-no-unknown-custom-properties@6
stylelint-value-no-unknown-custom-properties@6 \
typescript
- name: Run Stylelint
run: npx stylelint "static/css/**/*.{css,scss}"
- name: Run TypeScript check
run: tsc -p jsconfig.json --noEmit
rust-fmt:
name: Rustfmt
needs: changes