CI: Test with Node 16, not 14 #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push] | |
env: | |
CI: true | |
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: '16' | |
- 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 test |