Skip to content

Use mise on Render to pin pnpm 10.x#119

Open
amrelsagaei wants to merge 2 commits into
mainfrom
ae-issue-117-deployment
Open

Use mise on Render to pin pnpm 10.x#119
amrelsagaei wants to merge 2 commits into
mainfrom
ae-issue-117-deployment

Conversation

@amrelsagaei
Copy link
Copy Markdown
Contributor

This Fixes #117

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Render deployment configuration to use mise for toolchain management so the deployment environment uses a pinned pnpm 10.x (addressing the pnpm 11 build-script behavior seen on Render).

Changes:

  • Update render.yaml to install mise, install pinned tools, and run a mise task for the build.
  • Add a .mise/tasks/build task that runs pnpm install and pnpm build.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
render.yaml Switch Render build command to install/use mise and run the build task.
.mise/tasks/build New mise task that performs dependency install and VitePress build.
Comments suppressed due to low confidence (1)

render.yaml:7

  • This build command installs the latest mise on every deploy, which can introduce unexpected breakages when mise releases change behavior. Consider pinning the mise version (consistent with the pinned toolchain in .mise/config.toml and the CI workflow), so Render and CI use the same known-good mise release.
    buildCommand: curl https://mise.run | sh && ~/.local/bin/mise trust && ~/.local/bin/mise install && ~/.local/bin/mise run build

Comment thread render.yaml Outdated
Comment thread .mise/tasks/build
Comment thread .mise/tasks/build Outdated
@amrelsagaei amrelsagaei requested a review from f8thl3ss May 15, 2026 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deployment failing due to pnpm version mismatch

4 participants