Skip to content

Commit dea7cd7

Browse files
committed
Run yarn after eject
1 parent 2ca4c84 commit dea7cd7

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

tasks/e2e-kitchensink.sh

+5
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,11 @@ E2E_FILE=./build/index.html \
247247
# Eject...
248248
echo yes | npm run eject
249249

250+
if hash yarnpkg 2>/dev/null
251+
then
252+
yarn install --check-files
253+
fi
254+
250255
# ...but still link to the local packages
251256
install_package "$root_path"/packages/babel-preset-react-app
252257
install_package "$root_path"/packages/eslint-config-react-app

tasks/e2e-simple.sh

+5
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,11 @@ verify_module_scope
331331
# Eject...
332332
echo yes | npm run eject
333333

334+
if hash yarnpkg 2>/dev/null
335+
then
336+
yarn install --check-files
337+
fi
338+
334339
# ...but still link to the local packages
335340
install_package "$root_path"/packages/babel-preset-react-app
336341
install_package "$root_path"/packages/eslint-config-react-app

0 commit comments

Comments
 (0)