Skip to content

Commit

Permalink
Allow emergency deployments
Browse files Browse the repository at this point in the history
  • Loading branch information
Ismaaa committed Nov 6, 2024
1 parent cfb6355 commit 1ca63b8
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,9 +1,23 @@
/** @type {import('next').NextConfig} */

/**
* We're ignoring ESLint and TypeScript errors during builds to allow deployments in emergency situations.
* These issues are still caught and reported by our separate code quality GitHub Action,
* but won't block deployment if urgent changes are needed.
*
* @see .github/workflows/code-quality-checks.yml for the quality checks implementation
*/
const nextConfig = {
reactStrictMode: true,
experimental: {
serverActions: true,
},
eslint: {
ignoreDuringBuilds: true
},
typescript: {
ignoreBuildErrors: true
}
};

export default nextConfig;
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"scripts": {
"dev": "next dev",
"build": "CI=false next build",
"build": "next build",
"start": "next start",
"lint": "next lint",
"prettier:check": "prettier . --check",
Expand Down

0 comments on commit 1ca63b8

Please sign in to comment.