Skip to content

Commit

Permalink
ci: publish to vscode marketplace
Browse files Browse the repository at this point in the history
  • Loading branch information
tekumara committed Apr 30, 2023
1 parent 0baad42 commit 279d6b7
Show file tree
Hide file tree
Showing 3 changed files with 219 additions and 27 deletions.
14 changes: 13 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,24 @@ jobs:
permissions:
contents: write
steps:
- uses: actions/checkout@v3
# download each artifact into its own self-named directory
- uses: actions/download-artifact@v3
with:
path: dist
- run: ls -al dist/*
- run: npm ci
- name: Inspect dist
run: |
ls -al dist/*
npx glob dist/**/*.vsix
- name: vsce publish
run: npx vsce publish --packagePath $(npx glob dist/**/*.vsix)
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}
- name: Upload to GH release
uses: softprops/action-gh-release@v1
with:
files: dist/**/*.vsix
- name: Setup tmate session
if: ${{ failure() }}
uses: mxschmitt/action-tmate@v3
230 changes: 205 additions & 25 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
"cross-env": "^7.0.3",
"esbuild": "^0.17.18",
"eslint": "^8.34.0",
"glob": "^8.1.0",
"glob": "^10.2.2",
"mocha": "^10.2.0",
"prettier": "^2.8.7",
"typescript": "^4.9.5"
Expand Down

0 comments on commit 279d6b7

Please sign in to comment.