Skip to content

Commit

Permalink
test: migrate example-basic-pnpm to Ubuntu 20.04 / 22.04
Browse files Browse the repository at this point in the history
Correct duplicated workflow name to example-basic-pnpm
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 78da0ec commit 93d3a5e
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/example-basic-pnpm.yml
@@ -1,4 +1,4 @@
name: example-basic
name: example-basic-pnpm
on:
push:
branches:
Expand All @@ -7,8 +7,8 @@ on:
jobs:
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Cypress v9 and lower ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #

basic-pnpm-ubuntu-18:
runs-on: ubuntu-18.04
basic-pnpm-ubuntu-20:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -20,7 +20,7 @@ jobs:

- 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 @@ -31,8 +31,8 @@ jobs:
# see https://on.cypress.io/command-line#cypress-info
build: npx cypress info

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

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

basic-pnpm-ubuntu-18-v10:
runs-on: ubuntu-18.04
basic-pnpm-ubuntu-20-v10:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -122,7 +122,7 @@ jobs:

- 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 @@ -133,8 +133,8 @@ jobs:
# see https://on.cypress.io/command-line#cypress-info
build: npx cypress info

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

0 comments on commit 93d3a5e

Please sign in to comment.