Skip to content

modernize the code

modernize the code #21

Workflow file for this run

name: ci
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16, 18, 20]
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Init
run: npm run init
- name: Build
run: npm run build
- name: Lint
run: npm run lint
- name: Doc
run: npm run doc
- name: Test
run: npm test
- name: Examples
run: npm run examples