Docs/CI / CD

CircleCI

CircleCI's Node orb handles most of the setup. The recipe below runs the suite on every commit and exposes results and traces as downloadable artifacts.

.circleci/config.ymlyaml
version: 2.1

orbs:
  node: circleci/node@5

jobs:
  assrt:
    docker:
      - image: cimg/node:20.11-browsers
    steps:
      - checkout
      - node/install-packages
      - run: npx assrt install-browsers
      - run: npx assrt run --reporter junit
      - store_test_results:
          path: assrt-results
      - store_artifacts:
          path: assrt-results

workflows:
  test:
    jobs:
      - assrt:
          context: assrt-secrets