Skip to content

yarn lock

yarn lock #2

name: Publish VS Code Extension
on:
push:
branches:
- main # Change this to your default branch if it's not 'main'
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: "14"
- name: Install Dependencies
run: npm install
- name: Package Extension
run: npx vsce package
- name: Publish Extension
# npx vsce publish takes either major or minor arg.
# passing minor would make a minor release
# passing major would make a major release
run: npx vsce publish major
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}