Skip to content

testing github workflow #24

testing github workflow

testing github workflow #24

Workflow file for this run

name: "Publish extension"
on:
push:
branches:
- ci/cd
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 18.x
- name: Installing Dependencies
run: npm install
- name: Installing Dev Dependencies
run: npm install -D
- name: Installing vsce
run: npm i -g @vscode/vsce --save
- name: Minor version
env:
CI: true
run: |
export GIT_USER=${{secrets.GIT_USER}}
git config --global user.name "yashrajb"
git config --global user.email "basanyash627@gmail.com"
npm version minor
- name: publish
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}
run: vsce publish --pat $VSCE_PAT