Merge pull request #20 from Quodatum/dev #11
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Release to Marketplace." | |
on: | |
workflow_dispatch: | |
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 Visual Studio Marketplace" | |
uses: "HaaLeo/publish-vscode-extension@v1" | |
with: | |
pat: "${{ secrets.VSCE_TOKEN }}" | |
registryUrl: "https://marketplace.visualstudio.com" | |