Skip to content

Commit ba1e951

Browse files
authored
build: fix version update for yarn workspace (#1069)
1 parent 9675ed2 commit ba1e951

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

scripts/update-cypress-latest-other.sh

+1-4
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,8 @@ echo
1515
echo updating examples/start-and-yarn-workspaces to cypress@latest
1616
cd start-and-yarn-workspaces
1717
for i in 1 2; do
18-
cd workspace-${i}
1918
echo updating workspace-${i}
20-
npm install cypress@latest --save-dev --save-exact --package-lock=false
21-
npm ls cypress
22-
cd ..
19+
yarn workspace workspace-${i} add cypress --dev --exact
2320
done
2421
echo
2522
echo updating yarn lockfile for start-and-yarn-workspaces

0 commit comments

Comments
 (0)