mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-24 19:10:22 +01:00
ef9d5d117b
Co-authored-by: ryanml <ryanlanese@gmail.com>
17 lines
418 B
Bash
Executable File
17 lines
418 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Print commands and their arguments as they are executed.
|
|
set -x
|
|
# Exit immediately if a command exits with a non-zero status.
|
|
set -e
|
|
|
|
yarn install --frozen-lockfile --har
|
|
|
|
# Move HAR file into directory with consistent name so that we can cache it
|
|
mkdir -p build-artifacts/yarn-install-har
|
|
har_files=(./*.har)
|
|
if [[ -f "${har_files[0]}" ]]
|
|
then
|
|
mv ./*.har build-artifacts/yarn-install-har/
|
|
fi
|