mirror of
https://github.com/Mintplex-Labs/bree.git
synced 2026-07-01 20:04:39 -04:00
32 lines
691 B
YAML
32 lines
691 B
YAML
on:
|
|
- push
|
|
- pull_request
|
|
jobs:
|
|
test:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os:
|
|
- ubuntu-latest
|
|
- macos-latest
|
|
# TODO: re-enable windows
|
|
#- windows-latest
|
|
node:
|
|
- 14
|
|
- 16
|
|
- 18
|
|
exclude:
|
|
- os: macos-latest
|
|
node: 14
|
|
name: Node ${{ matrix.node }} on ${{ matrix.os }}
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Setup node
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: ${{ matrix.node }}
|
|
- name: Install dependencies
|
|
run: npm install
|
|
- name: Run tests
|
|
run: npm run test-coverage
|