Skip to content

fix(reporters): MODULE_NOT_FOUND when working directory not script di… #300

fix(reporters): MODULE_NOT_FOUND when working directory not script di…

fix(reporters): MODULE_NOT_FOUND when working directory not script di… #300

Workflow file for this run

name: Test library
on:
push:
branches-ignore:
- 'dependabot/**'
pull_request:
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- windows-latest
- macos-latest
node-version:
- 18
- 20
- 22
- 23
env:
NODE_OPTIONS: '--dns-result-order=ipv4first'
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: npm
- run: npm ci
- run: npm test