Skip to content

upgrade version

upgrade version #7

on:
push:
branches:
- main
name: Deploy Extension
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 16
- run: npm ci
# Auto-increment patch version
- name: Increment Patch Version
run: npm version patch --no-git-tag-version
# Publish to Visual Studio Marketplace
- name: Publish to Visual Studio Marketplace
uses: HaaLeo/publish-vscode-extension@v1
with:
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}