Skip to content

Merge pull request #84 from GabrieleMessina/development #42

Merge pull request #84 from GabrieleMessina/development

Merge pull request #84 from GabrieleMessina/development #42

name: Publish VSCode Extension
on:
push:
paths:
- qutes-vscode/**
branches:
- main
release:
types:
- created
jobs:
publish:
defaults:
run:
working-directory: qutes-vscode
runs-on: ubuntu-latest
environment:
name: vscode-extension
url: https://marketplace.visualstudio.com/items?itemName=GabrieleMessina.qutes
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 18.x
- name: Install npm dependencies
run: |
npm install -g @vscode/vsce
- name: Publish extension
run: vsce publish
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}