Skip to content

Commit

Permalink
Enable Windows build for NodeJS
Browse files Browse the repository at this point in the history
  • Loading branch information
tdewolff committed Apr 18, 2024
1 parent 701074c commit 0df610d
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -22,10 +22,10 @@ jobs:
with:
fetch-depth: 0

#- name: Setup Windows environment
# if: matrix.os == 'windows-2019'
# #uses: microsoft/[email protected]
# run: npm install -g windows-build-tools
- name: Setup Windows environment
if: matrix.os == 'windows-2019'
#uses: microsoft/[email protected]
run: npm install -g windows-build-tools

- uses: actions/setup-node@v4
with:
Expand All @@ -47,19 +47,19 @@ 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:
- uses: actions/checkout@v4
with:
fetch-depth: 0

#- name: Setup Windows environment
# if: matrix.os == 'windows-2019'
# #uses: microsoft/[email protected]
# run: npm install -g windows-build-tools
- name: Setup Windows environment
if: matrix.os == 'windows-2019'
#uses: microsoft/[email protected]
run: npm install -g windows-build-tools

- uses: actions/setup-node@v4

Expand Down

0 comments on commit 0df610d

Please sign in to comment.