Fix: Run extension as UI extension

This commit is contained in:
2026-06-07 16:40:34 +00:00
parent f2f9ae5988
commit 9807886eb2
8 changed files with 6821 additions and 6803 deletions
+41
View File
@@ -0,0 +1,41 @@
name: Publish Extension
on:
push:
tags:
- 'v*.*.*'
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: https://github.com/actions/checkout@v4
- name: Install Node.js
uses: https://github.com/actions/setup-node@v4
with:
node-version: 22.x
- name: Install dependencies
run: npm ci
- name: Audit dependencies
run: npm audit --audit-level=high
- name: Lint
run: npm run lint
- name: Publish to VS Code Marketplace
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}
run: npm run publish
- name: Cleanup workspace
if: always()
run: |
rm -rf node_modules
rm -rf out
rm -rf coverage
rm -rf .nyc_output