Skip to content

Commit

Permalink
Add more environments to CI
Browse files Browse the repository at this point in the history
Add tests for Windows and MacOS, and additional versions of node.
  • Loading branch information
elliotgoodrich committed Feb 23, 2024
1 parent 17c8354 commit 40f2f54
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,16 @@ on:

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node: [18, 20, latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: ${{ matrix.node }}
cache: 'npm'
- uses: seanmiddleditch/gha-setup-ninja@master
- run: npm ci
Expand Down

0 comments on commit 40f2f54

Please sign in to comment.