Skip to content

fix: make ESM module #240

fix: make ESM module

fix: make ESM module #240

Workflow file for this run

name: CI
on: pull_request
jobs:
build:
strategy:
matrix:
os:
- windows-latest
- ubuntu-latest
node:
- 20
runs-on: ${{ matrix.os }}
steps:
- name: Install Node
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- name: Begin CI...
uses: actions/checkout@v2
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Lint
run: yarn lint
- name: Test
run: yarn test --ci --coverage --maxWorkers=2
- name: Build
run: yarn build
- name: Install dependencies for Example
run: yarn
working-directory: ./example
- name: Build example
run: yarn build
working-directory: ./example
- name: Run integration tests
run: yarn testcafe chrome:headless
working-directory: ./example