From 3eba0db9b6a3f5d3c791f6e3329eaf765f40b83e Mon Sep 17 00:00:00 2001 From: Mauro Mancinetti <61876723+kiaSso@users.noreply.github.com> Date: Tue, 27 Aug 2024 10:02:19 +0200 Subject: [PATCH] Update node.js.yml --- .github/workflows/node.js.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index a26c09d..dad8cbf 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -12,10 +12,11 @@ on: jobs: build: - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} strategy: matrix: + os: [ubuntu-latest, windows-latest] node-version: [18.x, 20.x, 22.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ @@ -23,7 +24,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: ${{ matrix.node-version }} + node-version: ${{ matrix.node-version }} - run: npm init --force --yes - run: npm install - run: npm run build --if-present