#!/usr/bin/env sh set -o nounset ## set -u : exit the script if you try to use an uninitialised variable set -o errexit ## set -e : exit the script if any statement returns a non-true return value set -o xtrace ## set -x : Print command traces before executing command npm install --quiet npm run --silent build # push into archive tar czf "$ARCHIVE/artifact.tar.gz" -C dist .