#!/bin/bash set -o pipefail npm run check code=$? echo "=== CHECK EXIT $code ===" exit $code