Skip to content
Merged
Show file tree
Hide file tree
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
9 changes: 7 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
with:
files: '*.vsix'

deploy:
runs-on: ubuntu-latest
needs: build
Expand All @@ -28,7 +29,11 @@ jobs:
uses: actions/checkout@v4
- name: Install
run: npm install
- name: Publish
run: npm run deploy
- name: Publish to VS Code Marketplace
run: npm run deploy:vsce
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}
- name: Publish to Open VSX Registry
run: npm run deploy:ovsx
env:
OVSX_PAT: ${{ secrets.OVSX_PAT }}
79 changes: 79 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,8 @@
"format": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json,css,scss,md}\"",
"format:check": "prettier --check \"src/**/*.{ts,tsx,js,jsx,json,css,scss,md}\"",
"package-vsix": "vsce package",
"deploy": "vsce publish"
"deploy:vsce": "vsce publish",
"deploy:ovsx": "ovsx publish"
},
"devDependencies": {
"@types/lodash-es": "^4.17.12",
Expand All @@ -413,6 +414,7 @@
"eslint-config-prettier": "^10.0.1",
"eslint-plugin-prettier": "^5.2.3",
"npm-run-all": "^4.1.5",
"ovsx": "^0.10.1",
"prettier": "^3.4.2",
"rimraf": "^6.0.1",
"sinon": "^19.0.2",
Expand Down