Add VSCode 0.1.2 changelog entry (#2075) #14
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
on: | |
push: | |
tags: | |
- "swarm-language-vscode-*" | |
name: Deploy Extension | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 16 | |
- run: | | |
cd editors/vscode && \ | |
npm update && \ | |
npm clean-install && \ | |
cd client && \ | |
npm update && \ | |
npm clean-install && \ | |
tsc --build . && \ | |
cd .. && \ | |
npm run gen-syntax && \ | |
npm clean-install && \ | |
npm run build --if-present | |
- name: Publish to Visual Studio Marketplace | |
uses: HaaLeo/publish-vscode-extension@v1 | |
with: | |
packagePath: editors/vscode | |
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }} | |
registryUrl: https://marketplace.visualstudio.com | |
- name: Publish to Open VSX Registry | |
uses: HaaLeo/publish-vscode-extension@v1 | |
with: | |
packagePath: editors/vscode | |
pat: ${{ secrets.VSX_MARKETPLACE_TOKEN }} |