Skip to content

feat(node): upgrades to support Node 18, 20 #185

feat(node): upgrades to support Node 18, 20

feat(node): upgrades to support Node 18, 20 #185

Workflow file for this run

name: Pull request
on:
pull_request:
branches:
- master
release:
types: [created]
jobs:
build:
runs-on: ${{ matrix.os }}
if: ${{ !contains(github.event.head_commit.message, '[skip ci]') }}
strategy:
matrix:
os: [windows-2019, ubuntu-latest, macos-latest]
# list only the earliest and latest node versions supported
# this makes PR builds more efficient
node-version: [16, 20]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn
- name: Run linter
run: yarn lint
- name: Build binaries
run: yarn build
- name: Run tests
run: yarn test