@@ -25,14 +25,17 @@ workflows:
2525 - run :
2626 name : Build folder 🏗
2727 command : npm run build
28+ - run :
29+ name : Run unit tests 👷
30+ command : npm run test:unit
2831
2932 - cypress/run :
3033 name : Example A11y
3134 requires :
3235 - Install
3336 executor : cypress/base-12
3437 # each example installs "cypress-react-unit-test" as a local dependency (symlink)
35- install-command : npm install
38+ install-command : npm install --no-bin-links
3639 verify-command : echo 'Already verified'
3740 no-workspace : true
3841 working_directory : examples/a11y
@@ -45,9 +48,9 @@ workflows:
4548 - Install
4649 executor : cypress/base-12
4750 # each example installs "cypress-react-unit-test" as a local dependency (symlink)
48- install-command : npm install
51+ install-command : npm install --no-bin-links
4952 verify-command : echo 'Already verified'
50- no-workspace : true
53+ no-workspace : false
5154 working_directory : examples/using-babel
5255 command : npm test
5356 store_artifacts : true
@@ -58,7 +61,7 @@ workflows:
5861 - Install
5962 executor : cypress/base-12
6063 # each example installs "cypress-react-unit-test" as a local dependency (symlink)
61- install-command : npm install
64+ install-command : npm install --no-bin-links
6265 verify-command : echo 'Already verified'
6366 no-workspace : true
6467 working_directory : examples/using-babel-typescript
@@ -71,7 +74,7 @@ workflows:
7174 - Install
7275 executor : cypress/base-12
7376 # each example installs "cypress-react-unit-test" as a local dependency (symlink)
74- install-command : npm install
77+ install-command : npm install --no-bin-links
7578 verify-command : echo 'Already verified'
7679 no-workspace : true
7780 working_directory : examples/react-scripts
@@ -91,7 +94,7 @@ workflows:
9194 - Install
9295 executor : cypress/base-12
9396 # each example installs "cypress-react-unit-test" as a local dependency (symlink)
94- install-command : npm install
97+ install-command : npm install --no-bin-links
9598 verify-command : echo 'Already verified'
9699 no-workspace : true
97100 working_directory : examples/nextjs
@@ -113,7 +116,7 @@ workflows:
113116 requires :
114117 - Install
115118 # each example installs "cypress-react-unit-test" as a local dependency (symlink)
116- install-command : npm install
119+ install-command : npm install --no-bin-links
117120 verify-command : echo 'Already verified'
118121 no-workspace : true
119122 working_directory : examples/react-scripts-folder
@@ -133,7 +136,7 @@ workflows:
133136 - Install
134137 # each example installs "cypress-react-unit-test" as a local dependency (symlink)
135138 executor : cypress/base-12
136- install-command : npm install
139+ install-command : npm install --no-bin-links
137140 verify-command : echo 'Already verified'
138141 no-workspace : true
139142 working_directory : examples/tailwind
@@ -155,7 +158,7 @@ workflows:
155158 - Install
156159 # each example installs "cypress-react-unit-test" as a local dependency (symlink)
157160 executor : cypress/base-12
158- install-command : npm install
161+ install-command : npm install --no-bin-links
159162 verify-command : echo 'Already verified'
160163 no-workspace : true
161164 working_directory : examples/webpack-file
@@ -175,7 +178,7 @@ workflows:
175178 - Install
176179 # each example installs "cypress-react-unit-test" as a local dependency (symlink)
177180 executor : cypress/base-12
178- install-command : npm install
181+ install-command : npm install --no-bin-links
179182 verify-command : echo 'Already verified'
180183 no-workspace : true
181184 working_directory : examples/webpack-options
@@ -197,7 +200,7 @@ workflows:
197200 # because we will use native Sass dependency
198201 executor : cypress/base-12
199202 # each example installs "cypress-react-unit-test" as a local dependency (symlink)
200- install-command : npm install
203+ install-command : npm install --no-bin-links
201204 verify-command : echo 'Already verified'
202205 no-workspace : true
203206 working_directory : examples/sass-and-ts
@@ -217,7 +220,7 @@ workflows:
217220 - Install
218221 executor : cypress/base-12
219222 # each example installs "cypress-react-unit-test" as a local dependency (symlink)
220- install-command : npm install
223+ install-command : npm install --no-bin-links
221224 verify-command : echo 'Already verified'
222225 no-workspace : true
223226 working_directory : examples/snapshots
@@ -230,7 +233,7 @@ workflows:
230233 requires :
231234 - Install
232235 # each example installs "cypress-react-unit-test" as a local dependency (symlink)
233- install-command : npm install
236+ install-command : npm install --no-bin-links
234237 verify-command : echo 'Already verified'
235238 no-workspace : true
236239 working_directory : examples/visual-sudoku
@@ -246,7 +249,7 @@ workflows:
246249 requires :
247250 - Install
248251 # each example installs "cypress-react-unit-test" as a local dependency (symlink)
249- install-command : npm install
252+ install-command : npm install --no-bin-links
250253 verify-command : echo 'Already verified'
251254 no-workspace : true
252255 working_directory : examples/visual-testing-with-applitools
@@ -268,7 +271,7 @@ workflows:
268271 requires :
269272 - Install
270273 # each example installs "cypress-react-unit-test" as a local dependency (symlink)
271- install-command : npm install
274+ install-command : npm install --no-bin-links
272275 verify-command : echo 'Already verified'
273276 no-workspace : true
274277 working_directory : examples/visual-testing-with-percy
@@ -283,7 +286,7 @@ workflows:
283286 requires :
284287 - Install
285288 # each example installs "cypress-react-unit-test" as a local dependency (symlink)
286- install-command : npm install
289+ install-command : npm install --no-bin-links
287290 verify-command : echo 'Already verified'
288291 no-workspace : true
289292 working_directory : examples/visual-testing-with-happo
0 commit comments