Skip to content

A modern platform for visual, flexible, and extensible graph-based investigations. For cybersecurity analysts and investigators.

ci: fix python-lint job missing Node/yarn for make lint's frontend checks

dextmorgnd90665849cc2
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 8697eac8..cf8953ac 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -12,7 +12,7 @@ concurrency:
jobs:
python-lint:
- name: Python lint (ruff)
+ name: Lint (ruff, prettier, eslint)
runs-on: ubuntu-latest
permissions:
contents: read
@@ -21,7 +21,12 @@ jobs:
- uses: astral-sh/setup-uv@v7
with:
enable-cache: true
- - name: ruff format + check — clean today, any regression is new debt
+ - uses: actions/setup-node@v4
+ with:
+ node-version: 22
+ - run: yarn install --frozen-lockfile
+ working-directory: flowsint-app
+ - name: ruff format + check, prettier + eslint — clean today, any regression is new debt
run: make lint
python-typecheck:
@@ -44,27 +49,6 @@ jobs:
env:
BASE_REF: origin/${{ github.base_ref || 'main' }}
- frontend-lint:
- name: Frontend format & lint
- runs-on: ubuntu-latest
- permissions:
- contents: read
- defaults:
- run:
- working-directory: flowsint-app
- steps:
- - uses: actions/checkout@v6
- - uses: actions/setup-node@v4
- with:
- node-version: 22
- - run: yarn install --frozen-lockfile
- working-directory: .
- - name: prettier — clean today, any regression is new debt
- run: yarn format:check
- - name: eslint (report) — ~300 pre-existing errors, see eslint-diff for the gate
- run: yarn lint:check
- continue-on-error: true
-
frontend-typecheck:
name: Frontend typecheck & lint (changed files only)
runs-on: ubuntu-latest