Skip to content

Fix test matrix

Fix test matrix #33

Workflow file for this run

name: Cross-OS Tests
on: [push, pull_request]
jobs:
test:
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
- macos-latest
node:
- 16
- 18
- 20
runs-on: ${{ matrix.os }}
name: ${{ matrix.os }} (Node v${{ matrix.node }})
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- run: |
git config --global init.defaultBranch main
git config --global user.name User
git config --global user.email user@example.org
- run: npm install
- run: npm test