Skip to content
This repository was archived by the owner on Feb 19, 2026. It is now read-only.

Commit 8fbba8d

Browse files
authored
ci: Fix Pulumi version conflict in deploy workflow
Added a workaround to fix Pulumi version conflict in the deployment workflow.
1 parent 826664b commit 8fbba8d

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,15 @@ jobs:
2121
with:
2222
node-version: "24"
2323

24+
# Workaround for Pulumi version conflict:
25+
# GitHub runners have Pulumi 3.212.0+ pre-installed, which removed the -root flag
26+
# from pulumi-language-nodejs (see https://github.com/pulumi/pulumi/pull/21065).
27+
# SST 3.17.x uses Pulumi SDK 3.210.0 which still passes -root, causing a conflict.
28+
# Removing the system language plugin forces SST to use its bundled compatible version.
29+
# TODO: Remove when sst supports Pulumi >3.210.0
30+
- name: Fix Pulumi version conflict
31+
run: sudo rm -f /usr/local/bin/pulumi-language-nodejs
32+
2433
- run: bun sst deploy --stage=${{ github.ref_name }}
2534
env:
2635
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}

0 commit comments

Comments
 (0)