0-run-tests.sh - AWS Code Sample

0-run-tests.sh

#!/bin/bash set -eo pipefail if [ ! -d node_modules ]; then echo "Installing libraries..." npm install fi REGION=$(aws configure get region) AWS_REGION=$REGION npm run test