Files
password-reset-web/.ci.run
Thomas Dedek 169d67d7e7 init
2021-04-13 15:50:20 +02:00

12 lines
387 B
Bash

#!/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 .