From 7f8474affe533e4becf5749127854da7b50dfce7 Mon Sep 17 00:00:00 2001 From: Mrugesh Mohapatra Date: Sat, 15 Mar 2025 05:49:13 +0530 Subject: [PATCH] fix(GHA): use numeric versions for node --- .github/workflows/curriculum-i18n-submodule.yml | 2 +- .github/workflows/e2e-playwright.yml | 4 ++-- .github/workflows/e2e-third-party.yml | 2 +- .github/workflows/e2e-with-new-api.yml | 6 +++--- .github/workflows/i18n-validate-builds.yml | 2 +- .github/workflows/i18n-validate-prs.yml | 2 +- .github/workflows/node.js-tests.yml | 10 +++++----- .github/workflows/temporary-container-checks.yml | 4 ++-- 8 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/curriculum-i18n-submodule.yml b/.github/workflows/curriculum-i18n-submodule.yml index d4f11be83f1..dc448c15216 100644 --- a/.github/workflows/curriculum-i18n-submodule.yml +++ b/.github/workflows/curriculum-i18n-submodule.yml @@ -17,7 +17,7 @@ jobs: strategy: fail-fast: false matrix: - node-version: [20.x] + node-version: [20] # Exclude the languages that we currently run in the full CI suite. locale: - 'chinese' diff --git a/.github/workflows/e2e-playwright.yml b/.github/workflows/e2e-playwright.yml index 8c3f76fba03..f84fab7fd2d 100644 --- a/.github/workflows/e2e-playwright.yml +++ b/.github/workflows/e2e-playwright.yml @@ -24,7 +24,7 @@ jobs: runs-on: ubuntu-22.04 strategy: matrix: - node-version: [20.x] + node-version: [20] steps: - name: Checkout Source Files @@ -88,7 +88,7 @@ jobs: # Chrome both work, so hopefully there are no Mobile Safari specific # bugs. browsers: [chromium, firefox, webkit, Mobile Chrome] - node-version: [20.x] + node-version: [20] services: mongodb: diff --git a/.github/workflows/e2e-third-party.yml b/.github/workflows/e2e-third-party.yml index 099a084a0cb..34c2da1eed2 100644 --- a/.github/workflows/e2e-third-party.yml +++ b/.github/workflows/e2e-third-party.yml @@ -21,7 +21,7 @@ jobs: runs-on: ubuntu-22.04 strategy: matrix: - node-version: [20.x] + node-version: [20] services: mongodb: image: mongo:4.4 diff --git a/.github/workflows/e2e-with-new-api.yml b/.github/workflows/e2e-with-new-api.yml index 35438960757..d8d63c0e77f 100644 --- a/.github/workflows/e2e-with-new-api.yml +++ b/.github/workflows/e2e-with-new-api.yml @@ -23,7 +23,7 @@ jobs: runs-on: ubuntu-22.04 strategy: matrix: - node-version: [20.x] + node-version: [20] steps: - name: Checkout Source Files @@ -80,7 +80,7 @@ jobs: runs-on: ubuntu-22.04 strategy: matrix: - node-version: [20.x] + node-version: [20] steps: - name: Checkout Source Files @@ -112,7 +112,7 @@ jobs: matrix: # Extend this to include firefox and webkit once chromium is working. browsers: [chromium] - node-version: [20.x] + node-version: [20] steps: - name: Set Action Environment Variables diff --git a/.github/workflows/i18n-validate-builds.yml b/.github/workflows/i18n-validate-builds.yml index c2063adf8ef..dafe6d2457f 100644 --- a/.github/workflows/i18n-validate-builds.yml +++ b/.github/workflows/i18n-validate-builds.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-22.04 strategy: matrix: - node-version: [20.x] + node-version: [20] steps: - name: Checkout Source Files diff --git a/.github/workflows/i18n-validate-prs.yml b/.github/workflows/i18n-validate-prs.yml index 894f8366bb6..6d6d19b6d98 100644 --- a/.github/workflows/i18n-validate-prs.yml +++ b/.github/workflows/i18n-validate-prs.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-22.04 strategy: matrix: - node-version: [20.x] + node-version: [20] steps: - name: Checkout Source Files diff --git a/.github/workflows/node.js-tests.yml b/.github/workflows/node.js-tests.yml index c5544dbdd28..6382eea0a94 100644 --- a/.github/workflows/node.js-tests.yml +++ b/.github/workflows/node.js-tests.yml @@ -28,7 +28,7 @@ jobs: runs-on: ubuntu-22.04 strategy: matrix: - node-version: [20.x] + node-version: [20] fail-fast: false steps: @@ -85,7 +85,7 @@ jobs: runs-on: ubuntu-22.04 strategy: matrix: - node-version: [20.x] + node-version: [20] steps: - name: Checkout Source Files @@ -121,7 +121,7 @@ jobs: strategy: fail-fast: false matrix: - node-version: [20.x] + node-version: [20] steps: - name: Checkout Source Files @@ -171,7 +171,7 @@ jobs: strategy: fail-fast: false matrix: - node-version: [20.x] + node-version: [20] steps: - name: Checkout Source Files @@ -222,7 +222,7 @@ jobs: strategy: fail-fast: false matrix: - node-version: [20.x] + node-version: [20] locale: [portuguese, italian] steps: diff --git a/.github/workflows/temporary-container-checks.yml b/.github/workflows/temporary-container-checks.yml index 976bd32c414..b57cb3e8cc3 100644 --- a/.github/workflows/temporary-container-checks.yml +++ b/.github/workflows/temporary-container-checks.yml @@ -26,7 +26,7 @@ jobs: runs-on: ubuntu-22.04 strategy: matrix: - node-version: [20.x] + node-version: [20] steps: - name: Checkout Source Files @@ -60,7 +60,7 @@ jobs: runs-on: ubuntu-22.04 strategy: matrix: - node-version: [20.x] + node-version: [20] steps: - name: Checkout Source Files