Skip to content

Update CI & Ensure it runs on PRs #1

Update CI & Ensure it runs on PRs

Update CI & Ensure it runs on PRs #1

Workflow file for this run

name: CI
on:
pull_request:
push:
branches: ['master']
env:
CI: true
NODE_VERSION: 16
jobs:
Test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
- name: Install windows-build-tools
if: ${{ matrix.os == 'windows-latest' }}
run: npm config set msvs_version 2019
- name: Install dependencies
run: npm i
- name: Run tests
run: npm run test