mirror of
https://github.com/zebrajr/react.git
synced 2025-12-06 12:20:20 +01:00
12 lines
236 B
Bash
Executable File
12 lines
236 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
yarn test --coverage --maxWorkers=2
|
|
if [ -z "$CI_PULL_REQUEST" ]; then
|
|
./node_modules/.bin/coveralls < ./coverage/lcov.info
|
|
fi
|
|
|
|
# TODO: should we also track prod code coverage somehow?
|
|
# yarn test-prod --coverage
|