Skip to content

Commit

Permalink
Pin CI to Node.js 22.1 (#16498)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed May 16, 2024
1 parent 4b84474 commit d0ce0cf
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ aliases:
executors:
node-executor:
docker:
- image: cimg/node:current
- image: cimg/node:22.1
working_directory: ~/babel

jobs:
Expand Down
32 changes: 16 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Use Node.js latest
uses: actions/setup-node@v4
with:
node-version: latest
node-version: 22.1
check-latest: true
cache: "yarn"
- name: 'Check or update Yarn cache (fix w/ "yarn install")'
Expand All @@ -40,7 +40,7 @@ jobs:
- name: Use Node.js latest
uses: actions/setup-node@v4
with:
node-version: latest
node-version: 22.1
check-latest: true
cache: "yarn"
- name: 'Check for unmet constraints (fix w/ "yarn constraints --fix")'
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
- name: Use Node.js latest
uses: actions/setup-node@v4
with:
node-version: latest
node-version: 22.1
check-latest: true
cache: "yarn"
- name: Generate coverage report
Expand All @@ -91,7 +91,7 @@ jobs:
- name: Use Node.js latest
uses: actions/setup-node@v4
with:
node-version: latest
node-version: 22.1
check-latest: true
cache: "yarn"
- name: Use ESM and build
Expand All @@ -118,7 +118,7 @@ jobs:
- name: Use Node.js latest
uses: actions/setup-node@v4
with:
node-version: latest
node-version: 22.1
check-latest: true
cache: "yarn"
- name: Build babel artifacts
Expand Down Expand Up @@ -158,7 +158,7 @@ jobs:
- name: Use Node.js latest
uses: actions/setup-node@v4
with:
node-version: latest
node-version: 22.1
check-latest: true
cache: "yarn"
- name: Build babel artifacts
Expand All @@ -183,7 +183,7 @@ jobs:
- name: Use Node.js latest
uses: actions/setup-node@v4
with:
node-version: latest
node-version: 22.1
check-latest: true
cache: "yarn"
- name: Install
Expand Down Expand Up @@ -213,7 +213,7 @@ jobs:
- name: Use Node.js latest # Run yarn on latest node
uses: actions/setup-node@v4
with:
node-version: latest
node-version: 22.1
check-latest: true
cache: "yarn"
- name: Install
Expand Down Expand Up @@ -259,7 +259,7 @@ jobs:
if: matrix.node-version == '6' || matrix.node-version == '8' || matrix.node-version == '10'
uses: actions/setup-node@v4
with:
node-version: latest
node-version: 22.1

build-babel8:
name: Build Babel 8 Artifacts
Expand All @@ -274,7 +274,7 @@ jobs:
- name: Use Node.js latest
uses: actions/setup-node@v4
with:
node-version: latest
node-version: 22.1
check-latest: true
cache: "yarn"
- name: Use ESM
Expand Down Expand Up @@ -355,7 +355,7 @@ jobs:
- name: Use Node.js latest
uses: actions/setup-node@v4
with:
node-version: latest
node-version: 22.1
check-latest: true
cache: "yarn"
- name: Install
Expand All @@ -381,7 +381,7 @@ jobs:
- name: Use Node.js latest
uses: actions/setup-node@v4
with:
node-version: latest
node-version: 22.1
check-latest: true
cache: "yarn"
- name: Install
Expand Down Expand Up @@ -410,7 +410,7 @@ jobs:
- name: Use Node.js latest
uses: actions/setup-node@v4
with:
node-version: latest
node-version: 22.1
check-latest: true
cache: "yarn"
# See https://github.com/babel/babel/pull/12906
Expand Down Expand Up @@ -517,7 +517,7 @@ jobs:
- name: Use Node.js latest
uses: actions/setup-node@v4
with:
node-version: latest
node-version: 22.1
check-latest: true
cache: "yarn"
- name: Install
Expand Down Expand Up @@ -567,7 +567,7 @@ jobs:
- name: Use Node.js latest
uses: actions/setup-node@v4
with:
node-version: latest
node-version: 22.1
check-latest: true
- name: Checkout test runner
uses: actions/checkout@v4
Expand Down Expand Up @@ -604,7 +604,7 @@ jobs:
- name: Use Node.js latest
uses: actions/setup-node@v4
with:
node-version: latest
node-version: 22.1
check-latest: true
- name: Install
run: yarn install
Expand Down

0 comments on commit d0ce0cf

Please sign in to comment.