.github/workflows/test.yml
14 runs-on: ubuntu-latest
17 - uses: actions/checkout@v4
18 - uses: actions/setup-node@v4
20 # This is a crude test harness that checks the script is working correctly: it
21 # runs the script, and checks the generated files are created as expected.
24 node measure https://wellcomecollection.org/collections collections
27 if [ ! -f "out/collections.html" ]; then exit 1; fi
28 if [ ! -f "out/collections.json" ]; then exit 1; fi
30 node measure https://wellcomecollection.org/collections
33 if [ ! -f "out/export.html" ]; then exit 1; fi
34 if [ ! -f "out/export.json" ]; then exit 1; fi