Skip to content

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

Open
amrelsagaei wants to merge 1 commit into
mainfrom
ae-renderee-deployment-fix
Open

Use mise on Render to pin pnpm 10.x#360
amrelsagaei wants to merge 1 commit into
mainfrom
ae-renderee-deployment-fix

Conversation

@amrelsagaei
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Contributor

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 build to use mise so the hosted documentation build uses a pinned Node/pnpm toolchain.

Changes:

  • Replaces Render’s make build-release command with mise installation, trust, install, and task execution.
  • Adds a mise build task that delegates to make build-release.
  • Adds mise tool settings for Node 22 and pnpm 10.17.

Reviewed changes

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

File Description
render.yaml Updates Render’s build command to bootstrap and run mise.
.mise/tasks/build Adds a mise task that runs the existing release build target.
.mise/config.toml Adds tool version settings for Node and pnpm.

Comment thread render.yaml
repo: https://github.com/caido/documentation.git
branch: main
buildCommand: make build-release
buildCommand: curl -fsSL https://mise.run | sh && ~/.local/bin/mise trust && ~/.local/bin/mise install && ~/.local/bin/mise run build
Comment thread .mise/config.toml
Comment on lines +1 to +4
[tools]
node = "22"
pnpm = "10.17"

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.

3 participants