Skip to content

Fixes #262, add preact and react as optional peer dependencies #92

Fixes #262, add preact and react as optional peer dependencies

Fixes #262, add preact and react as optional peer dependencies #92

Workflow file for this run

name: Unit Tests
on: [pull_request, push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
# Change the condition for ESM Dist Test below when changing this.
node-version: [12.x, 14.x]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install
run: npm install
- name: Build and Test
run: npm test
- if: matrix.node-version == '14.x'
name: ESM Dist Test
run: npm run test:dist