Skip to content

Add start of publish workflow #7

Add start of publish workflow

Add start of publish workflow #7

Workflow file for this run

name: Build Extension
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
jobs:
build-and-release:
permissions:
contents: write
name: Build and Release
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install packages
run: npm ci
- name: Run type checking
run: npm run typecheck
- name: Build and package extension
run: npm run package -- $(cut -c 2- <<< $GITHUB_REF_NAME)
- name: Upload vsix file to GitHub release
uses: ncipollo/release-action@v1
with:
artifacts: ./*.vsix
allowUpdates: true
replacesArtifacts: true
draft: true