-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[core] Fix typescript-next CI workflow #43394
Conversation
Netlify deploy previewhttps://deploy-preview-43394--material-ui.netlify.app/ Bundle size report |
This reverts commit 3050eec.
.circleci/config.yml
Outdated
@@ -352,13 +352,13 @@ jobs: | |||
resource_class: 'medium+' | |||
steps: | |||
- checkout | |||
- install_js | |||
- run: | |||
name: Resolve typescript version | |||
command: | | |||
pnpm add typescript@next -d -w |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You could try with the following command. (Not sure it will work)
pnpm add typescript@next -d -w | |
pnpm update -r typescript@next |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It "works": https://app.circleci.com/pipelines/github/mui/material-ui/136906/workflows/efb61b97-5715-455c-915f-a008c66cd81d/jobs/738078. It fails silently because this job is meant to fail silently.
The previous command also resulted in the same error: https://app.circleci.com/pipelines/github/mui/material-ui/136902/workflows/b9c1cbb1-625e-4e3d-a68b-4da986bd0108/jobs/738050?invite=true#step-107-198
Looks like the docs:typescript
command is the one failing, but probably something to look into another PR.
The
typescript-next
CircleCI workflow is failing due to a mismatch of the pnpm version installed vs the one defined in package.json engines. Example failure: https://app.circleci.com/pipelines/github/mui/material-ui/136842/workflows/2ee9d991-0807-4242-b5ae-f8911336ccb7/jobs/738034?invite=true#step-102-6To solve the issue, we need to run corepack before pnpm gets used. Also modifying the typescript install script so we update all packages and not only the root package.json