Commit 9c6bf3ed authored by Hunter Loftis's avatar Hunter Loftis

run tests with yarn if available

parent 1e27aeb1
#!/usr/bin/env bash #!/usr/bin/env bash
cd "$1" && npm test BUILD_DIR=${1:-}
if yarn --version > /dev/null 2>&1; then
cd "$BUILD_DIR" && yarn test
else
cd "$BUILD_DIR" && npm test
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment