Skip to content

v0.4.0

v0.4.0 #17

Workflow file for this run

name: Publish extension
on:
release:
types: [created]
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: npm install
- name: Build
run: npm run vscode:prepublish
env:
NODE_ENV: 'production'
- name: Runs on Pre-Release
if: 'github.event.release.prerelease'
run: npm run deploy-pre-release
env:
VSCE_PAT: ${{ secrets.VSCE_TOKEN }}
- name: Runs on Release
if: '!github.event.release.prerelease'
run: npm run deploy
env:
VSCE_PAT: ${{ secrets.VSCE_TOKEN }}