Skip to content

Deploy Extension

Deploy Extension #2

name: Deploy Extension
on:
workflow_dispatch:
inputs:
test:
description: 'test input'
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 20
- uses: pnpm/[email protected]
- run: pnpm install --dir ./packages/vscode
- run: pnpm run build
- name: Publish to Visual Studio Marketplace
uses: HaaLeo/publish-vscode-extension@v1
with:
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
packagePath: ./packages/vscode
registryUrl: https://marketplace.visualstudio.com