diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 30ba026..0dc79a1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,6 +23,8 @@ jobs: run: bun --version - name: Install dependencies run: bun install --frozen-lockfile + - name: Test (types) + run: bun run test:types - name: Test (units) run: bun run test:units - name: Test (lint) diff --git a/next.config.js b/next.config.js index dc29843..edb5c3a 100644 --- a/next.config.js +++ b/next.config.js @@ -1,6 +1,12 @@ /** @type {import('next').NextConfig} */ const nextConfig = { output: 'export', + eslint: { + ignoreDuringBuilds: true, // Checking in "test:lint" script instead + }, + typescript: { + ignoreBuildErrors: true, // Checking in "test:types" script instead + }, }; module.exports = nextConfig; diff --git a/package.json b/package.json index 4e8250c..09c8040 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,7 @@ "dev": "next dev", "build": "next build", "start": "next start", + "test:types": "tsc", "test:units": "vitest", "test:lint": "next lint --max-warnings=0 --format=compact", "test:format": "prettier . --check",