Skip to content

Add test for #20

Add test for #20 #38

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: ["14", "16", "18"]
name: Node ${{ matrix.node }}
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Node
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- name: Install
run: yarn
- name: Build
run: yarn build
- name: Test
run: yarn test
- name: Lint
run: yarn prettier --check .
- name: Circular dependency check
uses: gerrit0/circular-dependency-check@v1
with:
entry: index.js