You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if [[ -n "$(git status --porcelain -- yarn.lock)" ]]; then
echo "Outdated yarn.lock file, commit changes to fix!"
git --no-pager diff
exit 1
fi
# Check for outdated i18n files
yarn i18n
GIT_STATUS="$(git status --short --untracked-files -- locales)"
if [ -n "$GIT_STATUS" ]; then
echo "i18n files are not up to date. Run 'yarn i18n' then commit changes."
git --no-pager diff
exit 1
fi
yarn run lint
if [ "$OPENSHIFT_CI" = true ]; then
JEST_SUITE_NAME="Pipeline Console Plugin Unit Tests" JEST_JUNIT_OUTPUT_DIR="$ARTIFACT_DIR" yarn run test --ci --maxWorkers=2 --reporters=default --reporters=jest-junit