Skip to content

Examples of a simplified and more easily achievable form of automated… #1

Examples of a simplified and more easily achievable form of automated…

Examples of a simplified and more easily achievable form of automated… #1

name: Automated contract tests
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
contract-tests:
runs-on: ubuntu-latest
strategy:
matrix:
subproject:
- rest-api
- mocked-mongodb
- mocked-rabbit
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: v20
- run: npm ci
working-directory: ${{ matrix.subproject }}
- run: npm test
working-directory: ${{ matrix.subproject }}