Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
npm run build:grammar
rm -rf node_modules
# Also delete root package.json and node_modules to avoid vsce picking up any monorepo info
rm ../../../package.json
mv ../../../package.json ../../../package.temp.json
rm -rf ../../../node_modules
sleep 60s # wait for npm registry to update
npm i --workspaces=false # vsce does not support pnpm, so we need to pretend this is not a monorepo and use npm
Expand All @@ -92,7 +92,13 @@ jobs:
working-directory: ./packages/language-tools/vscode
run: |
npx ovsx publish -p ${{ secrets.OVSX_TOKEN }} --target win32-x64 win32-arm64 linux-x64 linux-arm64 linux-armhf darwin-x64 darwin-arm64 alpine-x64 alpine-arm64
- name: Restore root package.json and node_modules
if: steps.vscode-published.outputs.published == 'true'
run: |
mv ./package.temp.json ./package.json
pnpm install
- name: Generate Announcement
id: message
if: steps.changesets.outputs.published == 'true'
Expand Down