Next.js Discord

Discord Forum

Merge pull request triples build time

Unanswered
msbaby88 posted this in #help-forum
Open in Discord
My development branch has a build time of <17 minutes. When I merge pull request into master, this takes 45 minutes, sometimes exceeding the max time limit. The changes I made to the code are minute, so I believe it has to do with packages / versions / cache. I recently upgraded to Node 18x.

Here are my output logs:

development branch (<17 minutes)
Running build in Washington, D.C., USA (East) – iad1 Cloning github.com/shadowbrand/vleeshal-next (Branch: previous, Commit: 75cb7f0) Cloning completed: 586.045ms Restored build cache Running "vercel build" Vercel CLI 30.2.1 Installing dependencies... yarn install v1.22.17 [1/4] Resolving packages... [2/4] Fetching packages... [3/4] Linking dependencies... *(warnings here)* [4/4] Building fresh packages... Done in 26.34s. Detected Next.js version: 13.0.7 Running "yarn run build" yarn run v1.22.17

master branch (~45 minutes)
Running build in Washington, D.C., USA (East) – iad1 Cloning github.com/shadowbrand/vleeshal-next (Branch: master, Commit: 4b18a3e) Cloning completed: 467.955ms Restored build cache Running "vercel build" Vercel CLI 30.2.1 Installing dependencies... yarn install v1.22.17 [1/4] Resolving packages... [2/4] Fetching packages... [3/4] Linking dependencies... *(warnings here)* [4/4] Building fresh packages... Done in 50.15s. Detected Next.js version: 13.4.5-canary.9 Running "yarn run build" yarn run v1.22.17

First time posting here, please forgive potential poor formatting of this.

0 Replies