diff --git a/.circleci/config.yml b/.circleci/config.yml index dc537a41..d09f0eaa 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -70,9 +70,20 @@ jobs: sleep 1 done echo Failed waiting for redis && exit 1 + - run: + name: Copy vercel.json + command: cp vercel.json vercel-old.json - run: name: Build command: yarn build + - run: + name: Check vercel.json unchanged + command: | + if ! diff -q vercel-old.json vercel.json &>/dev/null; then + diff vercel-old.json vercel.json + echo "vercel.json changed, run yarn build and make sure everything looks okay" + exit 1 + fi - run: name: Integration tests command: yarn test-in-ci