Skip to content

Commit

Permalink
Fix NodeJS and Python workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tdewolff committed May 17, 2024
1 parent 1743e86 commit 69b6ac0
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,33 @@ on:
branches:
- master
jobs:
build:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node: [16, 18, 20]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Install node-gyp
run: npm install -g node-gyp
- name: Build from source
run: |
cd bindings/js
npm --version
node --version
npm ci --build-from-source
npm test
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
#os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 69b6ac0

Please sign in to comment.