Skip to content

Commit

Permalink
Merge branch 'develop' into supernova/1143-expired_guest_cart
Browse files Browse the repository at this point in the history
  • Loading branch information
dpatil-magento committed Apr 24, 2019
2 parents d550d86 + 055ccce commit efd614c
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .bin/pr-checks
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,14 @@ message () {
echo "==========================================================================="
echo ""
}
STATUS=0

message "Installing dependencies with yarn..."
yarn install --frozen-lockfile
yarn install --frozen-lockfile || exit 1

# production build - needed for some of the subsequent checks, like storybook
message "Running production build..."
cp ./docker/.env.docker.prod ./packages/venia-concept/.env
yarn run build
yarn run build || exit 1

# jest tests - does not fail ci, failures are evaluated by danger check below
message "Running unit tests with Jest..."
Expand All @@ -28,14 +27,11 @@ message "Running Coveralls..."
yarn run coveralls

message "Running Storybook..."
yarn workspace @magento/venia-concept run storybook:build
yarn workspace @magento/venia-concept run storybook:build || exit 1

message "Running Bundlesize..."
yarn run bundlesize

# danger ci - eslint, prettier:validate, unit test evaluation, etc.
message "Running Danger..."
yarn run danger || STATUS=$?

echo "Exit Status: $STATUS"
exit $STATUS
yarn run danger

0 comments on commit efd614c

Please sign in to comment.