forked from external/vscode-xml
Create main.yml
This commit is contained in:
parent
343fb2c043
commit
f128cef6ad
27
.github/workflows/main.yml
vendored
Normal file
27
.github/workflows/main.yml
vendored
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
name: "Release to Marketplace"
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- "v*"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: "ubuntu-latest"
|
||||||
|
steps:
|
||||||
|
- name: "Checkout"
|
||||||
|
uses: "actions/checkout@v2"
|
||||||
|
|
||||||
|
- name: "Setup NodeJS"
|
||||||
|
uses: "actions/setup-node@v2.1.0"
|
||||||
|
|
||||||
|
- 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: ""
|
Loading…
Reference in New Issue
Block a user