Skip to content

Add test workflow

Add test workflow #15

Workflow file for this run

name: Test
on:
pull_request:
branches:
- master
paths-ignore:
- '*.md'
- 'catalog/**'
push:
branches:
- master
paths-ignore:
- '*.md'
- 'catalog/**'
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
node_version:
- 14
- 16
- 18
name: Node.js ${{ matrix.node_version }} on ${{ matrix.os }}
steps:
- name: Clone
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node_version }}
- run: yarn install --frozen-lockfile
- run: yarn test