#!/usr/bin/env bash

set -euo pipefail

cd source

# Install dependencies.
yarn install --frozen-lockfile

# Lint the entire project.
yarn lint src --no-fix

# Run unit tests.
yarn test:unit

# Make a production build.
yarn build
