Skip to content

rewrite

rewrite #27

Workflow file for this run

name: ci
on:
pull_request:
push:
branches: main
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version:
- "20"
- "21"
name: Test on node v${{ matrix.node-version }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
check-latest: true
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: |
sudo apt-get install capnproto libcapnp-dev
npm i -g npm@latest
npm ci
- name: Build
run: npm run build
- name: Lint
run: npm run lint
- name: Test
run: npm test