Skip to content

Commit b3bbae8

Browse files
authored
fix: update documentation and examples to orb v4 (#521)
1 parent 7118e67 commit b3bbae8

File tree

14 files changed

+21
-21
lines changed

14 files changed

+21
-21
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ A typical project can have:
3434
```yaml
3535
version: 2.1
3636
orbs:
37-
# "cypress-io/cypress@3" installs the latest published
37+
# "cypress-io/cypress@4" installs the latest published
3838
# version "s.x.y" of the orb. We recommend you then use
39-
# the strict explicit version "cypress-io/cypress@3.x.y"
39+
# the strict explicit version "cypress-io/cypress@4.x.y"
4040
# to lock the version and prevent unexpected CI changes
41-
cypress: cypress-io/cypress@3
41+
cypress: cypress-io/cypress@4
4242
workflows:
4343
build:
4444
jobs:
@@ -66,7 +66,7 @@ may have:
6666
```yaml
6767
version: 2.1
6868
orbs:
69-
cypress: cypress-io/cypress@3
69+
cypress: cypress-io/cypress@4
7070
workflows:
7171
build:
7272
jobs:
@@ -135,7 +135,7 @@ A single Docker container used to run Cypress tests. This default executor exten
135135
```yaml
136136
version: 2.1
137137
orbs:
138-
cypress: cypress-io/cypress@3
138+
cypress: cypress-io/cypress@4
139139
executor: cypress/default
140140
jobs:
141141
- cypress/run:
@@ -146,7 +146,7 @@ You can also use your own executor by passing in your own Docker image. See the
146146
```yaml
147147
version: 2.1
148148
orbs:
149-
cypress: cypress-io/cypress@3
149+
cypress: cypress-io/cypress@4
150150
executor:
151151
docker:
152152
image: cypress/browsers:22.15.0 # your Docker image here
@@ -161,7 +161,7 @@ jobs:
161161
```yaml
162162
version: 2.1
163163
orbs:
164-
cypress: cypress-io/cypress@3
164+
cypress: cypress-io/cypress@4
165165
jobs:
166166
install:
167167
executor: cypress/default
@@ -199,7 +199,7 @@ Cypress orb is _versioned_ so you can be sure that the configuration will _not_
199199

200200
You can find all changes and published orb versions for Cypress orb at [cypress-io/circleci-orb/releases](https://github.com/cypress-io/circleci-orb/releases).
201201

202-
We are using `cypress-io/cypress@3` version in our examples, so you get the latest published orb version 3.x.x. But we recommend locking it down to an exact version to prevent unexpected changes from suddenly breaking your builds.
202+
We are using `cypress-io/cypress@4` version in our examples, so you get the latest published orb version `4.x.x`. But we recommend locking it down to an exact version to prevent unexpected changes from suddenly breaking your builds.
203203

204204
### License
205205

src/examples/browser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: >
44
usage:
55
version: 2.1
66
orbs:
7-
cypress: cypress-io/cypress@3
7+
cypress: cypress-io/cypress@4
88
workflows:
99
use-my-orb:
1010
jobs:

src/examples/caching.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: >
33
usage:
44
version: 2.1
55
orbs:
6-
cypress: cypress-io/cypress@3
6+
cypress: cypress-io/cypress@4
77
workflows:
88
use-my-orb:
99
jobs:

src/examples/commands.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: >
33
usage:
44
version: 2.1
55
orbs:
6-
cypress: cypress-io/cypress@3
6+
cypress: cypress-io/cypress@4
77
jobs:
88
install-and-persist:
99
executor: cypress/default

src/examples/component.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: >
44
usage:
55
version: 2.1
66
orbs:
7-
cypress: cypress-io/cypress@3
7+
cypress: cypress-io/cypress@4
88
workflows:
99
use-my-orb:
1010
jobs:

src/examples/custom-install.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: >
33
usage:
44
version: 2.1
55
orbs:
6-
cypress: cypress-io/cypress@3
6+
cypress: cypress-io/cypress@4
77
workflows:
88
use-my-orb:
99
jobs:

src/examples/edge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: >
33
usage:
44
version: 2.1
55
orbs:
6-
cypress: cypress-io/cypress@3
6+
cypress: cypress-io/cypress@4
77
executors:
88
cypress-browsers:
99
docker:

src/examples/mono-repo.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: >
33
usage:
44
version: 2.1
55
orbs:
6-
cypress: cypress-io/cypress@3
6+
cypress: cypress-io/cypress@4
77
workflows:
88
use-my-orb:
99
jobs:

src/examples/node-version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: >
33
usage:
44
version: 2.1
55
orbs:
6-
cypress: cypress-io/cypress@3
6+
cypress: cypress-io/cypress@4
77
jobs:
88
run-cypress-in-specified-node-version:
99
executor:

src/examples/pnpm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: >
44
usage:
55
version: 2.1
66
orbs:
7-
cypress: cypress-io/cypress@3
7+
cypress: cypress-io/cypress@4
88
workflows:
99
use-my-orb:
1010
jobs:

0 commit comments

Comments
 (0)