Skip to content

Throw WebServiceError instances and preserve error causes #5166

Throw WebServiceError instances and preserve error causes

Throw WebServiceError instances and preserve error causes #5166

Workflow file for this run

name: Run tests
on:
pull_request:
push:
schedule:
- cron: '3 22 * * SUN'
permissions: {}
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
version: [22, 24]
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
persist-credentials: false
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: ${{ matrix.version }}
- run: npm ci
- run: npm test --coverage
- run: npm run build
- run: npm run build:docs
- run: npm link
- run: npm ci
working-directory: e2e/js
- run: npm link '@maxmind/minfraud-api-node'
working-directory: e2e/js
- run: npx jest
working-directory: e2e/js
env:
NODE_OPTIONS: --experimental-vm-modules
- run: npm ci
working-directory: e2e/ts
- run: npm link '@maxmind/minfraud-api-node'
working-directory: e2e/ts
- run: npx jest
working-directory: e2e/ts
env:
NODE_OPTIONS: --experimental-vm-modules