From 4aff49807bf7ddecc33691ec8e826e742c2d2bc9 Mon Sep 17 00:00:00 2001 From: Sudharaka Date: Fri, 20 Dec 2024 10:11:10 -0800 Subject: [PATCH] fix: temporary fix for ubuntu version problem Detailed at, https://github.com/puppeteer/puppeteer/issues/12818 --- .github/workflows/booking.yml | 4 ++-- .github/workflows/check-for-changes.yml | 2 +- .github/workflows/ci.yml | 4 ++-- .github/workflows/codeql.yml | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/booking.yml b/.github/workflows/booking.yml index 2398cad..7765a70 100644 --- a/.github/workflows/booking.yml +++ b/.github/workflows/booking.yml @@ -29,7 +29,7 @@ on: # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: define-env: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 environment: name: ${{ github.event.client_payload.environment || 'test' }} outputs: @@ -46,7 +46,7 @@ jobs: env: BOOKING_URL: ${{ needs.define-env.outputs.BOOKING_URL }} # The type of runner that the job will run on - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: diff --git a/.github/workflows/check-for-changes.yml b/.github/workflows/check-for-changes.yml index a32e947..db4162c 100644 --- a/.github/workflows/check-for-changes.yml +++ b/.github/workflows/check-for-changes.yml @@ -29,7 +29,7 @@ jobs: login: ${{ fromJson(vars.LOGINS) }} # The type of runner that the job will run on - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 # Steps represent a sequence of tasks that will be executed as part of the job steps: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 10571a4..49bab2f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ on: jobs: lint: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 timeout-minutes: 5 steps: @@ -27,7 +27,7 @@ jobs: - run: npm run eslint:quiet prettier: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 timeout-minutes: 5 steps: diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 560d4a7..c2eecd0 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -16,7 +16,7 @@ on: jobs: analyze: name: Analyze - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 permissions: # required for all workflows security-events: write