Skip to content

feat: Add pact tests to github repo #2338

feat: Add pact tests to github repo

feat: Add pact tests to github repo #2338

Workflow file for this run

name: Pacts
on:
pull_request:
merge_group:
jobs:
test_pacts:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: serlo/configure-repositories/actions/setup-node@main
- run: yarn start:redis
- run: yarn pacts
- name: Check for uncommitted changes
run: |
if ! git diff --exit-code; then
echo "There are uncommitted changes in the repository."
exit 1
fi