Skip to content

chore: update tests #225

chore: update tests

chore: update tests #225

name: Build and test
on:
push:
pull_request:
branches: [master]
jobs:
build-and-test-osx:
runs-on: macos-latest
strategy:
matrix:
node-version: [16.x, 18.x]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: ./scripts/build.sh
shell: bash
build-and-test-ubuntu:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: ./scripts/build.sh
shell: bash