Skip to content

Merge pull request #147 from dotnetCarpenter/deps #165

Merge pull request #147 from dotnetCarpenter/deps

Merge pull request #147 from dotnetCarpenter/deps #165

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: npm
- name: Install and build
run: |
npm ci
npm run compile
env:
CI: true
- name: Test
run: npm test
if: runner.os != 'Linux'
- name: Test on Linux
run: xvfb-run -a npm test
if: runner.os == 'Linux'
- name: Lint
run: npm run lint