From 55f9bce1689eff327bb608467868978658231bba Mon Sep 17 00:00:00 2001 From: Amr Elsagaei Date: Fri, 15 May 2026 09:44:08 -0300 Subject: [PATCH 1/2] Use mise on Render to pin pnpm 10.x --- .mise/tasks/build | 3 +++ render.yaml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100755 .mise/tasks/build diff --git a/.mise/tasks/build b/.mise/tasks/build new file mode 100755 index 0000000..0d8473d --- /dev/null +++ b/.mise/tasks/build @@ -0,0 +1,3 @@ +#!/usr/bin/env bash +pnpm install +pnpm build diff --git a/render.yaml b/render.yaml index 0e81ad0..bec80bb 100644 --- a/render.yaml +++ b/render.yaml @@ -4,7 +4,7 @@ services: runtime: static repo: https://github.com/caido/doc-developer.git branch: main - buildCommand: make build-release + buildCommand: curl https://mise.run | sh && ~/.local/bin/mise trust && ~/.local/bin/mise install && ~/.local/bin/mise run build staticPublishPath: ./.vitepress/dist pullRequestPreviewsEnabled: true routes: From 624774c74aa30ce3e43808dcc5097e33190651a3 Mon Sep 17 00:00:00 2001 From: Amr Elsagaei Date: Fri, 15 May 2026 10:03:07 -0300 Subject: [PATCH 2/2] make build-release --- .mise/tasks/build | 4 ++-- render.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.mise/tasks/build b/.mise/tasks/build index 0d8473d..9232f52 100755 --- a/.mise/tasks/build +++ b/.mise/tasks/build @@ -1,3 +1,3 @@ #!/usr/bin/env bash -pnpm install -pnpm build +set -euo pipefail +make build-release diff --git a/render.yaml b/render.yaml index bec80bb..86e0ebc 100644 --- a/render.yaml +++ b/render.yaml @@ -4,7 +4,7 @@ services: runtime: static repo: https://github.com/caido/doc-developer.git branch: main - buildCommand: curl https://mise.run | sh && ~/.local/bin/mise trust && ~/.local/bin/mise install && ~/.local/bin/mise run build + buildCommand: curl -fsSL https://mise.run | sh && ~/.local/bin/mise trust && ~/.local/bin/mise install && ~/.local/bin/mise run build staticPublishPath: ./.vitepress/dist pullRequestPreviewsEnabled: true routes: