Skip to content

Update node example #142

Update node example

Update node example #142

Workflow file for this run

name: CI
on:
- push
- pull_request
jobs:
test:
name: Node.js ${{ matrix.node-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version:
- 20
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
# test project
- run: npm install --ignore-scripts
- run: npm run prepare
- run: npm test
# test node example
- run: cd example/node
- run: npm install
- run: npm run build
- run: npm test