diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 423fbce1..13e956be 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,7 +16,7 @@ jobs: working-directory: "./packages/${{ inputs.package }}" strategy: matrix: - node-version: [18.x, 20.x, 22.x] + node-version: [20.x, 22.x, 24.x] steps: - name: "Checkout" uses: actions/checkout@v4.1.6 diff --git a/.github/workflows/snapshots.yml b/.github/workflows/snapshots.yml index ec55c364..ea06902b 100644 --- a/.github/workflows/snapshots.yml +++ b/.github/workflows/snapshots.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: # TODO: Add 22.x - removed since it caused infinite screenshot loops - node-version: [18.x, 20.x] + node-version: [20.x] steps: - uses: actions/checkout@v4.1.6 with: diff --git a/.github/workflows/test-matrix.yml b/.github/workflows/test-matrix.yml index 556f9708..27b43bf3 100644 --- a/.github/workflows/test-matrix.yml +++ b/.github/workflows/test-matrix.yml @@ -10,7 +10,7 @@ jobs: strategy: fail-fast: false # Continue other combos even if one fails matrix: - node: [18, 20, 22, 24] + node: [20, 22, 24] react: ["18.2.0"] # TODO: Add "19.2.1" when ready steps: diff --git a/.github/workflows/unit_test.yml b/.github/workflows/unit_test.yml index c6f7d79a..eb70c703 100644 --- a/.github/workflows/unit_test.yml +++ b/.github/workflows/unit_test.yml @@ -16,7 +16,7 @@ jobs: working-directory: ./packages/${{ inputs.package }} strategy: matrix: - node-version: [18.x, 20.x, 22.x] + node-version: [20.x, 22.x, 24.x] steps: - name: "Checkout" uses: actions/checkout@v4.1.6 diff --git a/.github/workflows/wcag_test.yml b/.github/workflows/wcag_test.yml index df26e409..6d1f3df4 100644 --- a/.github/workflows/wcag_test.yml +++ b/.github/workflows/wcag_test.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [18.x, 20.x, 22.x] + node-version: [20.x, 22.x, 24.x] steps: - uses: actions/checkout@v4.1.6 - uses: actions/setup-node@v4.0.2 diff --git a/packages/pages-components/package.json b/packages/pages-components/package.json index 4b192dc4..8ec82d7e 100644 --- a/packages/pages-components/package.json +++ b/packages/pages-components/package.json @@ -31,7 +31,7 @@ }, "types": "dist/index.d.ts", "engines": { - "node": "^18 || ^20 || ^22 || ^24" + "node": "^20 || ^22 || ^24" }, "scripts": { "dev": "pnpm run storybook", diff --git a/test-sites/pages-components-starter/package.json b/test-sites/pages-components-starter/package.json index c8551742..83a2cb76 100644 --- a/test-sites/pages-components-starter/package.json +++ b/test-sites/pages-components-starter/package.json @@ -13,7 +13,7 @@ "test": "playwright test" }, "engines": { - "node": "^18 || ^20.2.0 || ^22 || ^24" + "node": "^20.2.0 || ^22 || ^24" }, "dependencies": { "@yext/pages-components": "workspace:*", diff --git a/test-sites/pages-components-starter/scripts/test-matrix-local.sh b/test-sites/pages-components-starter/scripts/test-matrix-local.sh index facecc8b..a945934c 100755 --- a/test-sites/pages-components-starter/scripts/test-matrix-local.sh +++ b/test-sites/pages-components-starter/scripts/test-matrix-local.sh @@ -9,7 +9,7 @@ if ! command -v nvm >/dev/null 2>&1; then exit 1 fi -NODE_VERSIONS=("18" "20" "22" "24") +NODE_VERSIONS=("20" "22" "24") REACT_VERSIONS=("18.2.0") # TODO: Add "19.2.1" INITIAL_NODE_VERSION=$(node -v)