Skip to content

Commit 0a8bc49

Browse files
authored
[tests] Try building with ENABLE_VC_BUILD (vercel#8110)
This will dogfood `vc build` which happens to improve this deployment time from 4 min down to 2 min.
1 parent 34e008f commit 0a8bc49

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

api/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"description": "API for the vercel/vercel repo",
66
"main": "index.js",
77
"scripts": {
8-
"vercel-build": "node ../utils/run.js build all"
8+
"//TODO": "We should add this pkg to yarn workspaces",
9+
"vercel-build": "cd .. && yarn install && yarn vercel-build"
910
},
1011
"dependencies": {
1112
"@sentry/node": "5.11.1",

vercel.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
],
2121
"build": {
2222
"env": {
23-
"ENABLE_FILE_SYSTEM_API": "1"
23+
"ENABLE_VC_BUILD": "1"
2424
}
2525
},
2626
"github": {

0 commit comments

Comments
 (0)