From 238319b910195e558047561b32dcf5646818b6d5 Mon Sep 17 00:00:00 2001 From: Jozef Izso Date: Mon, 30 Dec 2024 02:37:04 +0100 Subject: [PATCH] Build on Windows and macOS --- .github/workflows/build.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 06a7439..550c128 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,9 +10,10 @@ on: jobs: build: - runs-on: ubuntu-latest + runs-on: '${{ matrix.os }}-latest' strategy: matrix: + os: [ ubuntu, macos, windows ] node: [ 18, 20, 22 ] name: Node ${{ matrix.node }} build steps: @@ -37,7 +38,7 @@ jobs: - name: coveralls uses: coverallsapp/github-action@v2 with: - flag-name: node-${{ matrix.node }} + flag-name: node-${{ matrix.node }}-${{ matrix.os }} parallel: true report: @@ -49,4 +50,4 @@ jobs: uses: coverallsapp/github-action@v2 with: parallel-finished: true - carryforward: "node-18,node-20,node-22" + carryforward: "node-18-ubuntu,node-20-ubuntu,node-22-ubuntu"