cancel executions on server restart + clear output on execute #54
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: Build and upload VSIX | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- "packages/vscode/**" | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v3 | |
with: | |
version: 8 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "20" | |
cache: pnpm | |
- name: Install dependencies | |
run: pnpm install --frozen-lockfile --prefer-offline | |
- name: Package VSIX | |
working-directory: packages/vscode | |
run: pnpm run package | |
- name: Upload VSIX | |
uses: actions/upload-artifact@v4 | |
with: | |
name: vscode-extension | |
path: packages/vscode/*.vsix |