Skip to content

Dev

Dev #177

name: Build and test
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x]
steps:
- uses: actions/checkout@v2
- name: use node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install, build, lint, and test
run: |
npm install
npm run build
npm run lint
npm run testb
npm run test:fetch
env:
CI: true