Skip to content

Commit

Permalink
CI multiple OSes
Browse files Browse the repository at this point in the history
  • Loading branch information
jitsedesmet committed Jan 16, 2025
1 parent 7e8a4c4 commit 5df8557
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
name: CI
on: [push, pull_request]

on:
push:
branches:
- main
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version:
- 18.x
- 20.x
- 22.x
os:
- macos-latest
- ubuntu-latest
- windows-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
Expand All @@ -30,7 +31,6 @@ jobs:
- run: yarn test

spec:
runs-on: ubuntu-latest
strategy:
matrix:
spec:
Expand All @@ -40,6 +40,11 @@ jobs:
- 18.x
- 20.x
- 22.x
os:
- macos-latest
- ubuntu-latest
- windows-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
Expand Down

0 comments on commit 5df8557

Please sign in to comment.