Skip to content

Merge pull request #1471 from maxmind/greg/deprecate-subscores #3689

Merge pull request #1471 from maxmind/greg/deprecate-subscores

Merge pull request #1471 from maxmind/greg/deprecate-subscores #3689

Workflow file for this run

name: Run tests
on:
pull_request:
push:
schedule:
- cron: '3 22 * * SUN'
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
version: [18, 20]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
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
- 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