From 0df610dae7492f832578e9141c41d76b63bc66c9 Mon Sep 17 00:00:00 2001 From: Taco de Wolff Date: Thu, 18 Apr 2024 18:37:58 -0400 Subject: [PATCH] Enable Windows build for NodeJS --- .github/workflows/nodejs.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 417679214a..bdb0dfca29 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -12,8 +12,8 @@ jobs: strategy: fail-fast: false matrix: - #os: [ubuntu-latest, macos-latest, windows-2019] - os: [ubuntu-latest, macos-latest] + os: [ubuntu-latest, macos-latest, windows-2019] + #os: [ubuntu-latest, macos-latest] node: [16, 18, 20] runs-on: ${{ matrix.os }} @@ -22,10 +22,10 @@ jobs: with: fetch-depth: 0 - #- name: Setup Windows environment - # if: matrix.os == 'windows-2019' - # #uses: microsoft/setup-msbuild@v1.3 - # run: npm install -g windows-build-tools + - name: Setup Windows environment + if: matrix.os == 'windows-2019' + #uses: microsoft/setup-msbuild@v1.3 + run: npm install -g windows-build-tools - uses: actions/setup-node@v4 with: @@ -47,8 +47,8 @@ jobs: strategy: fail-fast: false matrix: - #os: [ubuntu-latest, macos-latest, windows-2019] - os: [ubuntu-latest, macos-latest] + os: [ubuntu-latest, macos-latest, windows-2019] + #os: [ubuntu-latest, macos-latest] runs-on: ${{ matrix.os }} steps: @@ -56,10 +56,10 @@ jobs: with: fetch-depth: 0 - #- name: Setup Windows environment - # if: matrix.os == 'windows-2019' - # #uses: microsoft/setup-msbuild@v1.3 - # run: npm install -g windows-build-tools + - name: Setup Windows environment + if: matrix.os == 'windows-2019' + #uses: microsoft/setup-msbuild@v1.3 + run: npm install -g windows-build-tools - uses: actions/setup-node@v4