From 9f4dd4fc6b74789dc9869824ca1251fe3b2d773f Mon Sep 17 00:00:00 2001 From: Rene Date: Wed, 1 Jul 2026 13:06:02 +0200 Subject: [PATCH] Revert "Add CI/CD pipeline (Gitea Actions) and fix eslint flat config" This reverts commit bcd2d73e707242589705757faf9ea9dd9b5ab3b7. --- .gitea/workflows/ci.yml | 33 --------------------------------- eslint.config.mjs | 4 ++-- package.json | 3 +-- 3 files changed, 3 insertions(+), 37 deletions(-) delete mode 100644 .gitea/workflows/ci.yml diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml deleted file mode 100644 index 2b47c26..0000000 --- a/.gitea/workflows/ci.yml +++ /dev/null @@ -1,33 +0,0 @@ -name: CI -on: - push: - branches: [main] - pull_request: - branches: [main] - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - - uses: actions/setup-node@v4 - with: - node-version: 20 - cache: npm - - - name: Install dependencies - run: npm ci - - - name: Lint - run: npm run lint -- --max-warnings 0 - continue-on-error: true - - - name: TypeScript check - run: npm run typecheck - - - name: Build - run: npm run build - env: - JWT_SECRET: ci-placeholder-secret - NEXT_TELEMETRY_DISABLED: 1 diff --git a/eslint.config.mjs b/eslint.config.mjs index a8a2835..05e726d 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -1,6 +1,6 @@ import { defineConfig, globalIgnores } from "eslint/config"; -import nextVitals from "eslint-config-next/core-web-vitals.js"; -import nextTs from "eslint-config-next/typescript.js"; +import nextVitals from "eslint-config-next/core-web-vitals"; +import nextTs from "eslint-config-next/typescript"; const eslintConfig = defineConfig([ ...nextVitals, diff --git a/package.json b/package.json index c61cd8f..dd459f8 100644 --- a/package.json +++ b/package.json @@ -21,8 +21,7 @@ "build:fix": "npm run build 2>&1 || node scripts/code-repair-agent.mjs --ci", "build": "next build", "start": "next start -p 3006", - "lint": "eslint", - "typecheck": "tsc --noEmit" + "lint": "eslint" }, "dependencies": { "@dnd-kit/core": "^6.3.1",