Skip to content

Commit 997a74e

Browse files
authored
Refactor build script and ensure fallback for Google Maps API key, re enable linting (#35)
1 parent 5849e5a commit 997a74e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"type": "module",
66
"scripts": {
77
"dev": "next dev",
8-
"build": "cross-env NEXT_DISABLE_ESLINT=true jest && next build",
8+
"build": "jest && next build",
99
"start": "next start",
1010
"lint": "next lint",
1111
"test": "jest",

playwright.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export default defineConfig({
1919
timeout: 120 * 1000,
2020
reuseExistingServer: !process.env.CI,
2121
env: {
22-
NEXT_PUBLIC_GOOGLE_MAPS_API_KEY: process.env.NEXT_PUBLIC_GOOGLE_MAPS_API_KEY,
22+
NEXT_PUBLIC_GOOGLE_MAPS_API_KEY: process.env.NEXT_PUBLIC_GOOGLE_MAPS_API_KEY || ''
2323
},
2424
},
2525

0 commit comments

Comments
 (0)