From 630f63e6020ee1012ff728807c538d02fc0cc0f3 Mon Sep 17 00:00:00 2001 From: Mostafa Ahangarha Date: Mon, 22 Jan 2024 18:19:29 +0330 Subject: [PATCH] Use Nodejs 18+ in CI Node 18 is required to run out generator because of the the v6.0.0 release of css-minimizer-webpack-plugin package. --- .circleci/config.yml | 2 +- .github/workflows/main.yml | 4 ++-- .github/workflows/package-js-tests.yml | 2 +- .github/workflows/rspec-package-specs.yml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index a334fa7d73..60b79a2410 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,7 +3,7 @@ version: 2 aliases: - &docker-image - - image: circleci/ruby:3.0-node-browsers + - image: cimg/ruby:3.0-browsers # Print critical data and executables versions. - &print-system-info diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9776aa8993..71df507f54 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: ruby: [3.0, 3.3] - node: [16, 20] + node: [18, 20] runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 @@ -84,7 +84,7 @@ jobs: strategy: matrix: ruby: [3.0, 3.3] - node: [16, 20] + node: [18, 20] rake_task: ['run_rspec:all_but_examples', 'run_rspec:examples'] runs-on: ubuntu-22.04 steps: diff --git a/.github/workflows/package-js-tests.yml b/.github/workflows/package-js-tests.yml index c1828990d8..c570649e05 100644 --- a/.github/workflows/package-js-tests.yml +++ b/.github/workflows/package-js-tests.yml @@ -11,7 +11,7 @@ jobs: build: strategy: matrix: - node: [16, 20] + node: [18, 20] runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/rspec-package-specs.yml b/.github/workflows/rspec-package-specs.yml index 2065360d7c..3a8a2f014f 100644 --- a/.github/workflows/rspec-package-specs.yml +++ b/.github/workflows/rspec-package-specs.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: ruby: [3.0, 3.3] - node: [16, 20] + node: [18, 20] runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4