Skip to content

Merge pull request #146 from dotnetCarpenter/removing-gabrielBB-xvfb-… #154

Merge pull request #146 from dotnetCarpenter/removing-gabrielBB-xvfb-…

Merge pull request #146 from dotnetCarpenter/removing-gabrielBB-xvfb-… #154

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
ci:
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: yarn
cache-dependency-path: yarn.lock
- name: Install and build
run: |
yarn --frozen-lockfile
yarn compile
env:
CI: true
- name: Test
run: yarn test
if: runner.os != 'Linux'
- name: Test on Linux
run: xvfb-run -a yarn test
if: runner.os == 'Linux'
- name: Lint
run: yarn lint