vscode-basex/.github/workflows/release.yml

29 lines
550 B
YAML

name: "Release to Marketplace"
on:
push:
tags:
- "v*"
jobs:
release:
runs-on: "ubuntu-latest"
steps:
- name: "Checkout"
uses: "actions/checkout@v3"
- name: "Setup NodeJS"
uses: "actions/setup-node@v3"
with:
node-version: 16
- name: "Install Dependencies"
run: "npm install"
- name: "Run Tests"
run: "npm run test"
- name: "Publish to Marketplace"
uses: "sigma/vsce-publish-action@v0.0.2"
with:
vsce_token: ${{ secrets.VSCE_TOKEN }}