Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Node.js CI

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
# Test against multiple Node.js versions
node-version: [20.x, 22.x, 24.x]
arch: [x64]
include:
- os: ubuntu-latest
arch: arm64
steps:
- uses: actions/checkout@v5
- name: Use Node.js ${{ matrix.node-version }} on ${{ matrix.arch }}
uses: actions/setup-node@v5
with:
node-version: ${{ matrix.node-version }}
architecture: ${{ matrix.arch }}
- name: Install dependencies
run: npm install
- name: Run the example
run: node .
Loading