#!/usr/bin/env bash

set -euo pipefail

./install_yarn.sh

# Install dependencies.
yarn install --frozen-lockfile

# Run unit tests.
yarn test:unit

# TODO: Create (or use) cypress docker image
# Run acceptance tests (runs cypress in headless mode)
# yarn test:acceptance-ci

# Make a production build.
yarn build
