Skip to content

add expense workflow #396

add expense workflow

add expense workflow #396

Workflow file for this run

name: CI
on:
push:
branches:
- main
tags:
- v[0-9]+.[0-9]+.[0-9]+*
pull_request:
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
vscodeVersion:
# - insiders
- stable
- 1.83.0
- web
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: 18
- name: Install Dependencies
run: npm ci
env:
DETECT_CHROMEDRIVER_VERSION: true
- name: Build
run: npm run build
- name: Run Tests
uses: GabrielBB/xvfb-action@v1
with:
run: npm test
env:
VSCODE_VERSION: ${{ matrix.vscodeVersion }}
VSCODE_WEB_TESTS: ${{ matrix.vscodeVersion == 'web' && '1' || '0' }}
- uses: actions/upload-artifact@v3
if: failure()
with:
name: screenshots
path: test/screenshots