Fix pnpm “Cannot Use 'in' Operator” in GitHub Actions

Fix pnpm's integrity undefined crash in GitHub Actions by replacing broken 11.12.0, pinning one version, and updating the setup step safely.