Skip to content

Commit

Permalink
test: migrate example-basic to Ubuntu 20.04 / 22.04
Browse files Browse the repository at this point in the history
Replace Ubuntu 18.04/20.04 combination by Ubuntu 20.04 / 22.04
Bump actions/checkout@v2 to v3 to mitigate Node.js 12 deprecation warning
  • Loading branch information
MikeMcC399 committed Dec 15, 2022
1 parent 3ab3d50 commit 3c2575e
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/example-basic.yml
Expand Up @@ -7,15 +7,15 @@ on:
jobs:
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Cypress v9 and lower ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #

basic-ubuntu-18:
runs-on: ubuntu-18.04
basic-ubuntu-20:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Cypress tests
# normally you would write
# uses: cypress-io/github-action@v2
# uses: cypress-io/github-action@v5
uses: ./
# the parameters below are only necessary
# because we are running these examples in a monorepo
Expand All @@ -26,8 +26,8 @@ jobs:
# see https://on.cypress.io/command-line#cypress-info
build: npx cypress info

basic-ubuntu-20:
runs-on: ubuntu-20.04
basic-ubuntu-22:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down Expand Up @@ -84,15 +84,15 @@ jobs:

# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Cypress v10 and higher ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #

basic-ubuntu-18-v10:
runs-on: ubuntu-18.04
basic-ubuntu-20-v10:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Cypress tests
# normally you would write
# uses: cypress-io/github-action@v2
# uses: cypress-io/github-action@v5
uses: ./
# the parameters below are only necessary
# because we are running these examples in a monorepo
Expand All @@ -103,8 +103,8 @@ jobs:
# see https://on.cypress.io/command-line#cypress-info
build: npx cypress info

basic-ubuntu-20-v10:
runs-on: ubuntu-20.04
basic-ubuntu-22-v10:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down

0 comments on commit 3c2575e

Please sign in to comment.