Skip to content

Merge pull request #2 from nationalarchives/feature/docker-test #141

Merge pull request #2 from nationalarchives/feature/docker-test

Merge pull request #2 from nationalarchives/feature/docker-test #141

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Node dependencies
run: npm install
- name: Start test server
run: docker compose up -d
- name: Wait for response
uses: nev7n/wait_for_response@v1
with:
url: http://localhost:5001/ready/
- name: Run the tests
run: node test-fixtures.mjs || exit 1