-
Notifications
You must be signed in to change notification settings - Fork 29.9k
Closed
Labels
bugIssue was opened via the bug report template.Issue was opened via the bug report template.
Description
What version of Next.js are you using?
11.1.0
What version of Node.js are you using?
14.x
What browser are you using?
Chrome
What operating system are you using?
Linux
How are you deploying your application?
Gitlab CI
Describe the Bug
I am using Gitlab CI to test and deploy a Next.js App, there is a Pipeline Stage for linting:
test:lint:
stage: test
dependencies:
- prepare
script:
- yarn lint
It is pretty simple, the "prepare" Stage is bascially "yarn install" and works perfectly fine. Since Next.js 11.1.0, i get a timeout after 1h in the Gitlab Pipeline right after yarn lint:
$ yarn lint
info - Loaded env from /builds/vetdoc/webapp/.env
✔ No ESLint warnings or errors
ERROR: Job failed: execution took longer than 1h0m0s seconds
The docker image is just a simple node 14 alpine image, and it does work perfectly fine with Next.js 11.0.1 (tried several times, it is always reproducable for me)
Expected Behavior
The Gitlab CI Pipeline works perfectly fine with Next.js 11.1.0+
To Reproduce
- Use Gitlab CI with a Node.js 14 Alpine Image
- Add a stage with "yarn lint" (which basically uses next lint)
rtritto and Zer025
Metadata
Metadata
Assignees
Labels
bugIssue was opened via the bug report template.Issue was opened via the bug report template.