Merge branch 'main' into bugfix/67-sonar-frontend-skipped
This commit is contained in:
@@ -15,6 +15,39 @@ on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
# Fails only on the rules with real defect-catching value — unhandled
|
||||
# promises, hook dependencies, missing alt text. Everything else is a warning
|
||||
# and does not block, which is why no --max-warnings flag appears here:
|
||||
# ESLint exits non-zero on errors and zero on warnings on its own. The split,
|
||||
# and the measurements behind it, are in
|
||||
# docs/superpowers/specs/2026-08-19-eslint-design.md.
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
|
||||
- name: Install backend deps
|
||||
run: npm install
|
||||
working-directory: backend
|
||||
|
||||
- name: Lint backend
|
||||
run: npm run lint
|
||||
working-directory: backend
|
||||
|
||||
- name: Install frontend deps
|
||||
run: npm install
|
||||
working-directory: frontend
|
||||
|
||||
- name: Lint frontend
|
||||
run: npm run lint
|
||||
working-directory: frontend
|
||||
|
||||
backend-unit:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
Reference in New Issue
Block a user