Skip to content

Commit b07a5f9

Browse files
committed
Update GitHub Actions examples to node24
Update cypress-io/github-action to v7 actions/checkout to v6 actions/upload-artifact to v6 actions/download-artifact to v7
1 parent 4e0d8ff commit b07a5f9

File tree

3 files changed

+25
-25
lines changed

3 files changed

+25
-25
lines changed

docs/accessibility/results-api.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ jobs:
304304
runs-on: ubuntu-24.04
305305
steps:
306306
- name: Checkout
307-
uses: actions/checkout@v4
307+
uses: actions/checkout@v6
308308
- name: install
309309
run: npm install
310310
- name: Run

docs/app/continuous-integration/github-actions.mdx

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,13 @@ For Example:
7474
jobs:
7575
cypress-run:
7676
steps:
77-
- uses: cypress-io/github-action@v6
77+
- uses: cypress-io/github-action@v7
7878
```
7979
8080
Alternatively, as a mitigation strategy for unforeseen breaks, bind to a
8181
specific
8282
[release version tag](https://github.com/cypress-io/github-action/releases), for
83-
example `cypress-io/github-action@v6.1.0`. Read the
83+
example `cypress-io/github-action@v7.1.0`. Read the
8484
[Cypress GitHub Action documentation](https://github.com/cypress-io/github-action#action-version)
8585
for more information.
8686

@@ -106,11 +106,11 @@ jobs:
106106
runs-on: ubuntu-24.04
107107
steps:
108108
- name: Checkout
109-
uses: actions/checkout@v4
109+
uses: actions/checkout@v6
110110
# Install npm dependencies, cache them correctly
111111
# and run all Cypress tests
112112
- name: Cypress run
113-
uses: cypress-io/github-action@v6
113+
uses: cypress-io/github-action@v7
114114
with:
115115
build: npm run build
116116
start: npm start
@@ -144,7 +144,7 @@ the above example to select Chrome instead of the default browser Electron, add
144144

145145
```yaml
146146
- name: Cypress run
147-
uses: cypress-io/github-action@v6
147+
uses: cypress-io/github-action@v7
148148
with:
149149
build: npm run build
150150
start: npm start
@@ -198,9 +198,9 @@ jobs:
198198
options: --user 1001
199199
steps:
200200
- name: Checkout
201-
uses: actions/checkout@v4
201+
uses: actions/checkout@v6
202202
- name: Cypress run
203-
uses: cypress-io/github-action@v6
203+
uses: cypress-io/github-action@v7
204204
with:
205205
build: npm run build
206206
start: npm start
@@ -244,17 +244,17 @@ jobs:
244244
runs-on: ubuntu-24.04
245245
steps:
246246
- name: Checkout
247-
uses: actions/checkout@v4
247+
uses: actions/checkout@v6
248248
249249
- name: Cypress install
250-
uses: cypress-io/github-action@v6
250+
uses: cypress-io/github-action@v7
251251
with:
252252
# Disable running of tests within install job
253253
runTests: false
254254
build: npm run build
255255
256256
- name: Save build folder
257-
uses: actions/upload-artifact@v4
257+
uses: actions/upload-artifact@v6
258258
with:
259259
name: build
260260
if-no-files-found: error
@@ -265,16 +265,16 @@ jobs:
265265
needs: install
266266
steps:
267267
- name: Checkout
268-
uses: actions/checkout@v4
268+
uses: actions/checkout@v6
269269
270270
- name: Download the build folder
271-
uses: actions/download-artifact@v4
271+
uses: actions/download-artifact@v7
272272
with:
273273
name: build
274274
path: build
275275
276276
- name: Cypress run
277-
uses: cypress-io/github-action@v6
277+
uses: cypress-io/github-action@v7
278278
with:
279279
start: npm start
280280
browser: chrome
@@ -340,17 +340,17 @@ jobs:
340340
runs-on: ubuntu-24.04
341341
steps:
342342
- name: Checkout
343-
uses: actions/checkout@v4
343+
uses: actions/checkout@v6
344344
345345
- name: Cypress install
346-
uses: cypress-io/github-action@v6
346+
uses: cypress-io/github-action@v7
347347
with:
348348
# Disable running of tests within install job
349349
runTests: false
350350
build: npm run build
351351
352352
- name: Save build folder
353-
uses: actions/upload-artifact@v4
353+
uses: actions/upload-artifact@v6
354354
with:
355355
name: build
356356
if-no-files-found: error
@@ -385,15 +385,15 @@ jobs:
385385
containers: [1, 2, 3, 4, 5]
386386
steps:
387387
- name: Checkout
388-
uses: actions/checkout@v4
388+
uses: actions/checkout@v6
389389
390390
- name: Download the build folder
391-
uses: actions/download-artifact@v4
391+
uses: actions/download-artifact@v7
392392
with:
393393
name: build
394394
395395
- name: Cypress run
396-
uses: cypress-io/github-action@v6
396+
uses: cypress-io/github-action@v7
397397
with:
398398
record: true
399399
parallel: true
@@ -513,10 +513,10 @@ jobs:
513513
runs-on: ubuntu-24.04
514514
steps:
515515
- name: Checkout
516-
uses: actions/checkout@v4
516+
uses: actions/checkout@v6
517517
518518
- name: Cypress run
519-
uses: cypress-io/github-action@v6
519+
uses: cypress-io/github-action@v7
520520
with:
521521
record: true
522522
env:
@@ -540,10 +540,10 @@ jobs:
540540
runs-on: ubuntu-24.04
541541
steps:
542542
- name: Checkout
543-
uses: actions/checkout@v4
543+
uses: actions/checkout@v6
544544
545545
- name: Cypress run
546-
uses: cypress-io/github-action@v6
546+
uses: cypress-io/github-action@v7
547547
with:
548548
record: true
549549
env:

docs/ui-coverage/results-api.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ jobs:
220220
runs-on: ubuntu-24.04
221221
steps:
222222
- name: Checkout
223-
uses: actions/checkout@v4
223+
uses: actions/checkout@v6
224224
- name: install
225225
run: npm install
226226
- name: Run

0 commit comments

Comments
 (0)