Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin Node.js to 20.5.x #15929

Merged
merged 2 commits into from
Sep 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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