#!/usr/bin/env bash

set -euo pipefail

./install_yarn.sh

# Install dependencies.
yarn install --frozen-lockfile --mutex file:../../yarn.mutex

# Lint the entire project.
yarn lint --max-warnings 0 --no-fix

# Run unit tests.
yarn test:unit

# Make a production build.
yarn build
