Skip to content

Commit

Permalink
Pin Node.js to 20.5.x (#15929)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed Sep 5, 2023
1 parent aaf364a commit 2c07574
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:20.5
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@v3
with:
node-version: latest
node-version: 20.5.x
check-latest: true
cache: "yarn"
- name: 'Check or update Yarn cache (fix w/ "yarn install")'
Expand All @@ -39,7 +39,7 @@ jobs:
- name: Use Node.js latest
uses: actions/setup-node@v3
with:
node-version: latest
node-version: 20.5.x
check-latest: true
cache: "yarn"
- name: 'Check for unmet constraints (fix w/ "yarn constraints --fix")'
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
- name: Use Node.js latest
uses: actions/setup-node@v3
with:
node-version: latest
node-version: 20.5.x
check-latest: true
cache: "yarn"
- name: Generate coverage report
Expand All @@ -88,7 +88,7 @@ jobs:
- name: Use Node.js latest
uses: actions/setup-node@v3
with:
node-version: latest
node-version: 20.5.x
check-latest: true
cache: "yarn"
- name: Use ESM and build
Expand All @@ -114,7 +114,7 @@ jobs:
- name: Use Node.js latest
uses: actions/setup-node@v3
with:
node-version: latest
node-version: 20.5.x
check-latest: true
cache: "yarn"
- name: Build babel artifacts
Expand Down Expand Up @@ -154,7 +154,7 @@ jobs:
- name: Use Node.js latest
uses: actions/setup-node@v3
with:
node-version: latest
node-version: 20.5.x
check-latest: true
cache: "yarn"
- name: Build babel artifacts
Expand All @@ -179,7 +179,7 @@ jobs:
- name: Use Node.js latest
uses: actions/setup-node@v3
with:
node-version: latest
node-version: 20.5.x
check-latest: true
cache: "yarn"
- name: Install
Expand Down Expand Up @@ -209,7 +209,7 @@ jobs:
- name: Use Node.js latest # Run yarn on latest node
uses: actions/setup-node@v3
with:
node-version: latest
node-version: 20.5.x
check-latest: true
cache: "yarn"
- name: Install
Expand Down Expand Up @@ -252,7 +252,7 @@ jobs:
if: matrix.node-version == '6' || matrix.node-version == '8' || matrix.node-version == '10'
uses: actions/setup-node@v3
with:
node-version: latest
node-version: 20.5.x

build-babel8:
name: Build Babel 8 Artifacts
Expand All @@ -267,7 +267,7 @@ jobs:
- name: Use Node.js latest
uses: actions/setup-node@v3
with:
node-version: latest
node-version: 20.5.x
check-latest: true
cache: "yarn"
- name: Use ESM
Expand Down Expand Up @@ -338,7 +338,7 @@ jobs:
- name: Use Node.js 18
uses: actions/setup-node@v3
with:
node-version: latest
node-version: 20.5.x
check-latest: true
cache: "yarn"
- name: Install
Expand All @@ -363,7 +363,7 @@ jobs:
- name: Use Node.js latest
uses: actions/setup-node@v3
with:
node-version: latest
node-version: 20.5.x
check-latest: true
cache: "yarn"
- name: Install
Expand Down Expand Up @@ -392,7 +392,7 @@ jobs:
- name: Use Node.js latest
uses: actions/setup-node@v3
with:
node-version: latest
node-version: 20.5.x
check-latest: true
cache: "yarn"
# See https://github.com/babel/babel/pull/12906
Expand Down Expand Up @@ -498,7 +498,7 @@ jobs:
- name: Use Node.js latest
uses: actions/setup-node@v3
with:
node-version: latest
node-version: 20.5.x
check-latest: true
cache: "yarn"
- name: Install
Expand All @@ -523,7 +523,7 @@ jobs:
- name: Use Node.js latest
uses: actions/setup-node@v3
with:
node-version: latest
node-version: 20.5.x
check-latest: true
- name: Checkout test runner
uses: actions/checkout@v3
Expand Down Expand Up @@ -560,7 +560,7 @@ jobs:
- name: Use Node.js latest
uses: actions/setup-node@v3
with:
node-version: latest
node-version: 20.5.x
check-latest: true
- name: Install
run: yarn install
Expand Down

0 comments on commit 2c07574

Please sign in to comment.