version v0.7.16 #49
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "π Publish to Extension Marketplace" | |
on: | |
push: | |
tags: | |
- "v*" | |
release: | |
types: [created] | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
env: | |
VSCE_PAT: ${{ secrets.VSCE_TOKEN }} | |
OPENVSX_TOKEN: ${{ secrets.OPENVSX_TOKEN }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "18.x" | |
registry-url: "https://registry.npmjs.org/" | |
- name: "π Prepare" | |
working-directory: ./Extension | |
run: | | |
npm install -g vsce | |
npm install | |
- name: "π οΈ Build" | |
working-directory: ./Extension | |
run: npm run build | |
- name: "π Publish to Visual Studio Marketplace" | |
working-directory: ./Extension | |
run: vsce publish | |
- name: "π Publish to Open VSX Registry" | |
working-directory: ./Extension | |
run: npx --yes ovsx publish -p $OPENVSX_TOKEN | |