Skip to content

Enable both CJS and ESM builds #55

Enable both CJS and ESM builds

Enable both CJS and ESM builds #55

Workflow file for this run

name: CI
on:
push:
branches:
- main
tags:
- '*'
pull_request: {}
jobs:
test:
timeout-minutes: 5
name: Tests
runs-on: ubuntu-latest
strategy:
matrix:
node: ['16', '18', '20']
os: [ubuntu-latest, macOS-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: yarn
- run: yarn --frozen-lockfile
- run: yarn prepare
- run: yarn lint
- run: yarn test