Skip to content

Merge pull request #10 from artrz/editor-menu #14

Merge pull request #10 from artrz/editor-menu

Merge pull request #10 from artrz/editor-menu #14

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [master]
pull_request:
branches: [master]
release:
types:
- created
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version: 10.x
# Runs a single command using the runners shell
- name: Install
run: yarn install
- name: Run tests
uses: GabrielBB/[email protected]
with:
run: yarn test
- name: Publish
if: success() && startsWith( github.ref, 'refs/tags/releases/') && matrix.os == 'ubuntu-latest'
run: yarn deploy
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}