Skip to content

Refactor to use native Node.js modules, support Node.js v20+ and modernize the code #43

Refactor to use native Node.js modules, support Node.js v20+ and modernize the code

Refactor to use native Node.js modules, support Node.js v20+ and modernize the code #43

Workflow file for this run

name: CI
on:
- push
- pull_request
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
node_version:
- 20
- 22
name: Node ${{ matrix.node_version }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node_version }}
- name: Install dependencies
run: npm install
- name: Run tests
run: npm run test