fix(ci): Resolve Next.js eslint loading and remove last pnpm dependencies
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 27s
Build & Deploy / 🧪 QA (push) Successful in 58s
Build & Deploy / 🏗️ Build (push) Failing after 36s
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / 🧪 Post-Deploy Verification (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 1s
Nightly QA / call-qa-workflow (push) Failing after 2m28s

This commit is contained in:
2026-02-27 22:28:49 +01:00
parent 96cc1b0736
commit 2b9f4b9841
3 changed files with 11 additions and 22 deletions

View File

@@ -14,11 +14,6 @@ jobs:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v3
with:
version: 10
run_install: false
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v4 uses: actions/setup-node@v4
@@ -31,7 +26,7 @@ jobs:
echo "//git.infra.mintel.me/api/packages/mmintel/npm/:_authToken=${{ secrets.NPM_TOKEN }}" >> .npmrc echo "//git.infra.mintel.me/api/packages/mmintel/npm/:_authToken=${{ secrets.NPM_TOKEN }}" >> .npmrc
- name: Install dependencies - name: Install dependencies
run: pnpm install --no-frozen-lockfile run: npm ci --include=dev --no-frozen-lockfile
env: env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
@@ -41,7 +36,7 @@ jobs:
run: npm run lint --workspace=apps/website run: npm run lint --workspace=apps/website
- name: 🏗️ Build - name: 🏗️ Build
run: pnpm build run: npm run build --workspace=apps/website
# - name: ♿ Accessibility Check # - name: ♿ Accessibility Check
# run: npx start-server-and-test start http://localhost:3000 "npm run check:a11y" # run: npx start-server-and-test start http://localhost:3000 "npm run check:a11y"

View File

@@ -161,10 +161,6 @@ jobs:
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v3
with:
version: 10
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
@@ -175,12 +171,13 @@ jobs:
echo "@mintel:registry=https://git.infra.mintel.me/api/packages/mmintel/npm" > .npmrc echo "@mintel:registry=https://git.infra.mintel.me/api/packages/mmintel/npm" > .npmrc
echo "//git.infra.mintel.me/api/packages/mmintel/npm/:_authToken=${{ secrets.NPM_TOKEN }}" >> .npmrc echo "//git.infra.mintel.me/api/packages/mmintel/npm/:_authToken=${{ secrets.NPM_TOKEN }}" >> .npmrc
- name: Install dependencies - name: Install dependencies
id: deps
run: | run: |
pnpm store prune npm cache clean --force
pnpm install --no-frozen-lockfile npm ci --include=dev --no-frozen-lockfile
- name: 🔒 Security Audit - name: 🔒 Security Audit
run: pnpm audit --audit-level high || echo "⚠️ Audit found vulnerabilities (non-blocking)" run: npm audit --audit-level high || echo "⚠️ Audit found vulnerabilities (non-blocking)"
- name: 🧪 QA Checks - name: 🧪 QA Checks
if: github.event.inputs.skip_checks != 'true' if: github.event.inputs.skip_checks != 'true'
run: npm run lint --workspaces --if-present run: npm run lint --workspaces --if-present
@@ -442,10 +439,6 @@ jobs:
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v3
with:
version: 10
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
@@ -457,8 +450,8 @@ jobs:
- name: Install dependencies - name: Install dependencies
id: deps id: deps
run: | run: |
pnpm store prune npm cache clean --force
pnpm install --no-frozen-lockfile npm ci --include=dev --no-frozen-lockfile
- name: 📦 Cache APT Packages - name: 📦 Cache APT Packages
uses: actions/cache@v4 uses: actions/cache@v4
with: with:
@@ -519,7 +512,7 @@ jobs:
if: always() && steps.deps.outcome == 'success' if: always() && steps.deps.outcome == 'success'
env: env:
TEST_URL: ${{ needs.prepare.outputs.next_public_url }} TEST_URL: ${{ needs.prepare.outputs.next_public_url }}
run: pnpm run check:og run: npm run check:og --workspace=apps/website
- name: 🌐 Core Smoke Tests (HTTP, API, Locale) - name: 🌐 Core Smoke Tests (HTTP, API, Locale)
if: always() && steps.deps.outcome == 'success' if: always() && steps.deps.outcome == 'success'
uses: https://git.infra.mintel.me/mmintel/at-mintel/.gitea/actions/core-smoke-tests@main uses: https://git.infra.mintel.me/mmintel/at-mintel/.gitea/actions/core-smoke-tests@main
@@ -535,7 +528,7 @@ jobs:
# NEXT_PUBLIC_BASE_URL: ${{ needs.prepare.outputs.next_public_url }} # NEXT_PUBLIC_BASE_URL: ${{ needs.prepare.outputs.next_public_url }}
# GATEKEEPER_PASSWORD: ${{ secrets.GATEKEEPER_PASSWORD || 'cc2026' }} # GATEKEEPER_PASSWORD: ${{ secrets.GATEKEEPER_PASSWORD || 'cc2026' }}
# PUPPETEER_EXECUTABLE_PATH: /usr/bin/chromium # PUPPETEER_EXECUTABLE_PATH: /usr/bin/chromium
# run: pnpm run check:forms # run: npm run check:forms --workspace=apps/website
# ────────────────────────────────────────────────────────────────────────────── # ──────────────────────────────────────────────────────────────────────────────
# JOB 7: Notifications # JOB 7: Notifications

View File

@@ -10,6 +10,7 @@ type Args = {
children: React.ReactNode; children: React.ReactNode;
}; };
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const serverFunction: any = async function (args: any) { const serverFunction: any = async function (args: any) {
'use server'; 'use server';
return handleServerFunctions({ return handleServerFunctions({