File tree Expand file tree Collapse file tree 2 files changed +30
-1
lines changed
Expand file tree Collapse file tree 2 files changed +30
-1
lines changed Original file line number Diff line number Diff line change 3636 version : latest
3737
3838 - name : Install dependencies
39- run : pnpm install --frozen-lockfile
39+ run : |
40+ # Skip scripts to avoid build issues with problematic dependencies
41+ pnpm install --frozen-lockfile --ignore-scripts
42+ # Then run scripts only for packages that need them, excluding the problematic one
43+ pnpm rebuild --filter="!@vscode/test-cli"
4044
4145 - name : Build extension
4246 run : pnpm run package
Original file line number Diff line number Diff line change @@ -93,3 +93,28 @@ release:
9393 @ echo " 🚀 Publishing to marketplace..."
9494 just publish
9595
96+ # Set up GitHub secrets for automated publishing
97+ setup-secrets :
98+ #!/ bin/ bash
99+ echo " 🔐 Setting up GitHub secrets for automated publishing..."
100+ echo " "
101+ echo " You'll need a VS Code Marketplace Personal Access Token (PAT):"
102+ echo " 1. Go to https://marketplace.visualstudio.com/manage/publishers/promptexecution"
103+ echo " 2. Click 'Personal Access Tokens' → 'New Token'"
104+ echo " 3. Name: 'GitHub Actions Release' with Full access"
105+ echo " 4. Copy the token when generated"
106+ echo " "
107+ read -p " Enter your VSCE_PAT token: " -s VSCE_PAT
108+ echo " "
109+ gh secret set VSCE_PAT --body " $VSCE_PAT"
110+ echo " ✅ VSCE_PAT secret set successfully!"
111+ echo " "
112+ echo " Optional: Set OVSX_PAT for Open VSX Registry:"
113+ read -p " Enter OVSX_PAT (or press Enter to skip): " -s OVSX_PAT
114+ if [ ! -z " $OVSX_PAT" ]; then
115+ gh secret set OVSX_PAT --body " $OVSX_PAT"
116+ echo " ✅ OVSX_PAT secret set successfully!"
117+ else
118+ echo " ⏭️ Skipped OVSX_PAT setup"
119+ fi
120+
You can’t perform that action at this time.
0 commit comments