Skip to content

Commit 7b9a4f1

Browse files
committed
Explicit peerDependency install for circleci
1 parent f01924e commit 7b9a4f1

File tree

1 file changed

+22
-7
lines changed

1 file changed

+22
-7
lines changed

.circleci/config.yml

Lines changed: 22 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: 2.1
33
defaults: &defaults
44
working_directory: ~/vuex
55
docker:
6-
- image: cimg/node:current-browsers
6+
- image: cimg/node:lts-browsers
77
parallelism: 4
88

99
jobs:
@@ -49,8 +49,13 @@ jobs:
4949
test-unit:
5050
<<: *defaults
5151
steps:
52-
- attach_workspace:
53-
at: ~/
52+
- checkout
53+
- run:
54+
name: Installing Dependencies
55+
command: yarn
56+
- run:
57+
name: Installing peerDependencies explicitly
58+
command: yarn add vue --peer
5459
- run:
5560
name: Running Unit Tests
5661
command: |
@@ -59,8 +64,13 @@ jobs:
5964
test-e2e:
6065
<<: *defaults
6166
steps:
62-
- attach_workspace:
63-
at: ~/
67+
- checkout
68+
- run:
69+
name: Installing Dependencies
70+
command: yarn
71+
- run:
72+
name: Installing peerDependencies explicitly
73+
command: yarn add vue --peer
6474
- run:
6575
name: Running End-to-end Tests
6676
command: |
@@ -69,8 +79,13 @@ jobs:
6979
test-ssr:
7080
<<: *defaults
7181
steps:
72-
- attach_workspace:
73-
at: ~/
82+
- checkout
83+
- run:
84+
name: Installing Dependencies
85+
command: yarn
86+
- run:
87+
name: Installing peerDependencies explicitly
88+
command: yarn add vue --peer
7489
- run:
7590
name: Running Server-side Rendering Tests
7691
command: |

0 commit comments

Comments
 (0)