#!/usr/bin/env bash | |
# Copyright 2022 The Fuchsia Authors. All rights reserved. | |
# Use of this source code is governed by a BSD-style license that can be | |
# found in the LICENSE file. | |
set -eo pipefail | |
ci_dir="$(dirname -- "${BASH_SOURCE[0]}")" | |
source ${ci_dir:?unable to figure out script dir}/common.sh | |
cd ${root_dir:?unable to find root dir} | |
ensure-all | |
echo "doing a clean NPM build..." >&2 | |
npm ci | |
echo "...done installing!" >&2 |