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 17, 2025
1 parent 7e8a4c4 commit 8797c63
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 9 deletions.
24 changes: 15 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,8 +31,8 @@ jobs:
- run: yarn test

spec:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
spec:
- spec:all
Expand All @@ -40,6 +41,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 8797c63

Please sign in to comment.