From 93d3a5e429a045149df34cafec3d104f7f6b0133 Mon Sep 17 00:00:00 2001 From: Mike McCready <66998419+MikeMcC399@users.noreply.github.com> Date: Thu, 8 Dec 2022 14:19:46 +0100 Subject: [PATCH] test: migrate example-basic-pnpm to Ubuntu 20.04 / 22.04 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 --- .github/workflows/example-basic-pnpm.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/example-basic-pnpm.yml b/.github/workflows/example-basic-pnpm.yml index 4f0c13382..208b4907f 100644 --- a/.github/workflows/example-basic-pnpm.yml +++ b/.github/workflows/example-basic-pnpm.yml @@ -1,4 +1,4 @@ -name: example-basic +name: example-basic-pnpm on: push: branches: @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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