Skip to content

build: ⬆️ update lock file #24

build: ⬆️ update lock file

build: ⬆️ update lock file #24

Workflow file for this run

name: CI/CD
on:
push:
branches:
- main
release:
types:
- published
jobs:
build:
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Node.js
uses: actions/setup-node@v1
with:
node-version: 15.x
- name: Install Dependencies
run: yarn install --frozen-lockfile
- name: Test
run: yarn test
if: runner.os != 'Linux'
- name: Test with xvfb
run: xvfb-run -a yarn test
if: runner.os == 'Linux'
- name: Publish VSCode
if: success() && startsWith( github.ref, 'refs/tags/v') && matrix.os == 'ubuntu-latest'
run: yarn vscode:publish
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}
- name: Publish OVSX
if: success() && startsWith( github.ref, 'refs/tags/v') && matrix.os == 'ubuntu-latest'
run: yarn ovsx
env:
VSCE_PAT: ${{ secrets.OVSX_PAT }}