Skip to content

investigation progress #2709

investigation progress

investigation progress #2709

Workflow file for this run

name: Test (NPM)
on:
push:
branches-ignore: ['main']
jobs:
static-checks-npm:
uses: digicatapult/shared-workflows/.github/workflows/static-checks-npm.yml@main
with:
matrix_commands: '["lint", "depcheck", "check"]'
tests-unit:
uses: digicatapult/shared-workflows/.github/workflows/tests-npm.yml@main
with:
docker_compose_file: ''
npm_build_command: 'npm run build:tsoa'
tests: '["test:unit"]'
tests-offchain:
uses: digicatapult/shared-workflows/.github/workflows/tests-npm.yml@main
with:
docker_compose_file: './docker-compose-test.yml'
npm_build_command: 'npm run build:tsoa'
pre_test_command: 'npm run db:migrate'
tests: '["test:offchain"]'
tests-onchain:
uses: digicatapult/shared-workflows/.github/workflows/tests-npm.yml@main
with:
docker_compose_file: './docker-compose-test.yml'
npm_build_command: 'npm run build:tsoa'
pre_test_command: 'npm run db:migrate && npm run flows'
tests: '["test:onchain"]'
build-docker:
uses: digicatapult/shared-workflows/.github/workflows/build-docker.yml@main
permissions:
packages: write
contents: write