deno
6683f4b5 - ci: put $PNPM_HOME/bin on PATH for npm_publish global install steps (#34449)

Commit
185 days ago
ci: put $PNPM_HOME/bin on PATH for npm_publish global install steps (#34449) pnpm's global bin directory lives at `$PNPM_HOME/bin`, but the `Install pnpm` step in `npm_publish` was appending `$PNPM_HOME` itself to `$GITHUB_PATH`. Under pnpm 9 that mismatch produced only a warning, so the global install steps kept working. Under pnpm 10 it became a hard error — `[ERROR] The configured global bin directory ... is not in PATH` — which fails the `Test pnpm global install deno (without postinstall)` step and, by extension, the whole `test` job that gates `publish`. This is the second pnpm 10 strictness ratchet uncovered after #34445; once the local install passed, the global install started erroring on PATH. Closes #34442
Author
Parents
Loading