Skip to content

modernize toolchains #37

modernize toolchains

modernize toolchains #37

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 ci
- name: Build
run: npm run build
- name: Lint
run: npm run lint
- name: Format
run: npm run fmt
- name: Diff
run: git diff --exit-code
- name: Doc
run: npm run doc
- name: Test
run: npm test