Fully autonomous AI Agents system capable of performing complex penetration testing tasks
Go ai-agentsai-security-toolanthropicautonomous-agentsgolanggptgraphqlmulti-agent-systemoffensive-securityopen-sourceopenaipenetration-testingpenetration-testing-toolsreactsecurity-automationsecurity-testingsecurity-toolsself-hosted
build(frontend): pin Node 24.17.0 and pnpm 11.8.0 across all builds
Sergey Kozyrenko9b073e21839e
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 1f0d0050..27aab6d8 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -17,6 +17,12 @@ jobs:with:fetch-depth: 0+ - name: Verify Node version pins match .nvmrc+ run: |+ NVMRC="$(tr -dc '0-9.' < frontend/.nvmrc)"+ echo "Expected Node: $NVMRC"+ grep -q "node:${NVMRC}-slim" Dockerfile || { echo "::error::Dockerfile node tag != .nvmrc ($NVMRC)"; exit 1; }+# Go setup and cache- name: Set up Gouses: actions/setup-go@v6@@ -46,7 +52,7 @@ jobs:- name: Set up Node.jsuses: actions/setup-node@v6with:- node-version: '23'+ node-version-file: frontend/.nvmrccache: 'pnpm'cache-dependency-path: 'frontend/pnpm-lock.yaml'diff --git a/Dockerfile b/Dockerfileindex b4ce1ede..c33cf2c1 100644--- a/Dockerfile+++ b/Dockerfile@@ -3,7 +3,7 @@# ========================================# Stage 1: Frontend Application Build# ========================================-FROM node:23-slim AS frontend-compiler+FROM node:24.17.0-slim AS frontend-compiler# Production build configurationENV NODE_ENV=production@@ -22,7 +22,7 @@ RUN apt-get update && apt-get install -y \g++ \make \git \- && corepack enable && corepack prepare pnpm@latest --activate+ && corepack enable# GraphQL schema for code generationCOPY ./backend/pkg/graph/schema.graphqls ../backend/pkg/graph/diff --git a/frontend/.nvmrc b/frontend/.nvmrcnew file mode 100644index 00000000..1dd37d53--- /dev/null+++ b/frontend/.nvmrc@@ -0,0 +1 @@+24.17.0diff --git a/frontend/package.json b/frontend/package.jsonindex f8e633da..8022c83f 100644--- a/frontend/package.json+++ b/frontend/package.json@@ -140,13 +140,7 @@"vite-tsconfig-paths": "^6.1.1","vitest": "^4.1.6"},- "packageManager": "[email protected]",- "pnpm": {- "onlyBuiltDependencies": [- "@swc/core",- "esbuild"- ]- },+ "packageManager": "[email protected]","eslintConfig": {"extends": ["plugin:storybook/recommended"diff --git a/frontend/pnpm-workspace.yaml b/frontend/pnpm-workspace.yamlnew file mode 100644index 00000000..99cceb00--- /dev/null+++ b/frontend/pnpm-workspace.yaml@@ -0,0 +1,3 @@+allowBuilds:+ '@swc/core': true+ esbuild: true