Skip to content

chore: support node 16, single e2e #20

chore: support node 16, single e2e

chore: support node 16, single e2e #20

Workflow file for this run

# https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
name: CI
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- name: Install dependencies
run: yarn --frozen-lockfile
- name: Run lint
run: yarn lint
- name: Run tests
run: yarn test
- name: Run build
run: yarn build