Skip to content

Commit cb4eb2e

Browse files
committed
ci: fix test env
1 parent fed3e9c commit cb4eb2e

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

demos/middleware/netlify.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
command = "npm run build"
33
publish = ".next"
44

5-
[environment]
5+
[build.environment]
66
NEXT_USE_NETLIFY_EDGE = "true"
77

88
[[plugins]]

demos/server-components/netlify.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
command = "npm run build"
33
publish = ".next"
44

5-
[environment]
5+
[build.environment]
66
NEXT_USE_NETLIFY_EDGE = "true"
77

88
[[plugins]]

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"prepublishOnly": "run-s publish:pull publish:install clean build test",
3838
"publish:pull": "git pull",
3939
"publish:install": "npm ci",
40-
"publish:test": "npm test",
40+
"publish:test": "cd .. && npm ci && npm test",
4141
"clean": "rimraf lib",
4242
"build": "tsc",
4343
"watch": "tsc --watch",

0 commit comments

Comments
 (0)