fix(ci): add missing frontend dependency installation in E2E workflow

The E2E workflow was failing during "Build frontend" because npm ci
was only run at root level. The frontend directory has its own
package.json with React, Tailwind, and other dependencies that were
never installed.

Add "Install frontend dependencies" step before build
Update Node.js version from 18 to 20 (required by markdownlint-cli2)
Fixes failing E2E tests in PR #550
This commit is contained in:
GitHub Actions
2026-01-25 22:33:56 +00:00
parent 0cd93ceb79
commit 1f3af549cf
2 changed files with 246 additions and 2 deletions

View File

@@ -58,7 +58,7 @@ on:
- all
env:
NODE_VERSION: '18'
NODE_VERSION: '20'
GO_VERSION: '1.21'
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository_owner }}/charon
@@ -98,6 +98,10 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Install frontend dependencies
run: npm ci
working-directory: frontend
- name: Build frontend
run: npm run build
working-directory: frontend