Skip to content

Commit a615713

Browse files
cursoragentyamcodes
andcommitted
Bump Vercel CLI pin to 59.16.0 for pnpm 12
Vercel 54 passes --unsafe-perm to pnpm, which pnpm 12 rejects. Mirror the v1 fix from #1832 onto the three www deploy workflows on dev so preview deploys succeed again. Co-authored-by: Yam Borodetsky <hi@yam.codes>
1 parent e9605e1 commit a615713

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/deploy-www-manual.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
run: pnpm install
6969
- name: Install Vercel CLI
7070
# Pin the CLI to avoid upstream breakage from newly published majors.
71-
run: npm install --global vercel@54.7.1
71+
run: npm install --global vercel@59.16.0
7272
- name: Pull Vercel Environment Information
7373
run: |
7474
if [ "$TARGET" = "arkenv.js.org" ]; then

.github/workflows/deploy-www.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
run: pnpm install
4343
- name: Install Vercel CLI
4444
# Pin the CLI to avoid upstream breakage from newly published majors.
45-
run: npm install --global vercel@54.7.1
45+
run: npm install --global vercel@59.16.0
4646
- name: Pull Vercel Environment Information
4747
run: node scripts/vercel-wrapper.cjs pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
4848
- name: Build Project Artifacts

.github/workflows/preview-www-reusable.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,9 @@ jobs:
6868
echo "is_affected=true" >> "$GITHUB_OUTPUT"
6969
fi
7070
- name: Install Vercel CLI
71-
# Pin the CLI to avoid upstream breakage from newly published majors.
72-
run: npm install --global vercel@54.7.1
71+
# Vercel 54 invokes pnpm with --unsafe-perm, which pnpm 12 removed.
72+
# Keep the CLI pinned while using a version that supports the workspace's pnpm.
73+
run: npm install --global vercel@59.16.0
7374
- name: Pull Vercel Environment Information
7475
if: steps.affected.outputs.is_affected == 'true'
7576
env:

0 commit comments

Comments
 (0)