Skip to content

chore: update engines.node to minimum of 22 #9128

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

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/canary-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
with:
# Canary release script requires git history and tags.
fetch-depth: 0
- name: Set up Node (20)
- name: Set up Node (22)
uses: actions/setup-node@v4
with:
node-version: 22.10.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-changeset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
with:
# This makes Actions fetch all Git history so check_changeset script can diff properly.
fetch-depth: 0
- name: Set up Node (20)
- name: Set up Node (22)
uses: actions/setup-node@v4
with:
node-version: 22.10.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
with:
# get all history for the diff
fetch-depth: 0
- name: Set up Node (20)
- name: Set up Node (22)
uses: actions/setup-node@v4
with:
node-version: 22.10.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-pkg-paths.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
with:
# This makes Actions fetch all Git history so run-changed script can diff properly.
fetch-depth: 0
- name: Set up Node (20)
- name: Set up Node (22)
uses: actions/setup-node@v4
with:
node-version: 22.10.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
with:
# This makes Actions fetch all Git history so run-changed script can diff properly.
fetch-depth: 0
- name: Set up node (20)
- name: Set up node (22)
uses: actions/setup-node@v4
with:
node-version: 22.10.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Set up Node (20)
- name: Set up Node (22)
uses: actions/setup-node@master
with:
node-version: 22.10.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
with:
# get all history for the diff
fetch-depth: 0
- name: Set up node (20)
- name: Set up node (22)
uses: actions/setup-node@v4
with:
node-version: 22.10.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Set up node (20)
- name: Set up node (22)
uses: actions/setup-node@v4
with:
node-version: 22.10.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prerelease-manual-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
with:
# Canary release script requires git history and tags.
fetch-depth: 0
- name: Set up node (20)
- name: Set up node (22)
uses: actions/setup-node@v4
with:
node-version: 22.10.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
contents: write

steps:
- name: Set up node (20)
- name: Set up node (22)
uses: actions/setup-node@v4
with:
node-version: 22.10.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
# Block this workflow if run on a non-release branch.
if: github.event.inputs.release-branch == 'release' || endsWith(github.event.inputs.release-branch, '-releasebranch')
steps:
- name: Set up node (20)
- name: Set up node (22)
uses: actions/setup-node@v4
with:
node-version: 22.10.0
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
run: |
npx @puppeteer/browsers install chrome@stable
- uses: actions/checkout@v4
- name: Set up Node (20)
- name: Set up Node (22)
uses: actions/setup-node@v4
with:
node-version: 22.10.0
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
name: build.tar.gz
- name: Unzip build artifact
run: tar xf build.tar.gz
- name: Set up Node (20)
- name: Set up Node (22)
uses: actions/setup-node@v4
with:
node-version: 22.10.0
Expand Down Expand Up @@ -126,7 +126,7 @@ jobs:
name: build.tar.gz
- name: Unzip build artifact
run: tar xf build.tar.gz
- name: Set up Node (20)
- name: Set up Node (22)
uses: actions/setup-node@v4
with:
node-version: 22.10.0
Expand Down Expand Up @@ -166,7 +166,7 @@ jobs:
name: build.tar.gz
- name: Unzip build artifact
run: tar xf build.tar.gz
- name: Set up Node (20)
- name: Set up Node (22)
uses: actions/setup-node@v4
with:
node-version: 22.10.0
Expand Down Expand Up @@ -209,7 +209,7 @@ jobs:
name: build.tar.gz
- name: Unzip build artifact
run: tar xf build.tar.gz
- name: Set up Node (20)
- name: Set up Node (22)
uses: actions/setup-node@v4
with:
node-version: 22.10.0
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-changed-auth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
with:
# This makes Actions fetch all Git history so run-changed script can diff properly.
fetch-depth: 0
- name: Set up Node (20)
- name: Set up Node (22)
uses: actions/setup-node@v4
with:
node-version: 22.10.0
Expand All @@ -81,7 +81,7 @@ jobs:
with:
# This makes Actions fetch all Git history so run-changed script can diff properly.
fetch-depth: 0
- name: Set up Node (20)
- name: Set up Node (22)
uses: actions/setup-node@v4
with:
node-version: 22.10.0
Expand All @@ -105,7 +105,7 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Node (20)
- name: Set up Node (22)
uses: actions/setup-node@v4
with:
node-version: 22.10.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-changed-fcm-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
with:
# This makes Actions fetch all Git history so run-changed script can diff properly.
fetch-depth: 0
- name: Set up Node (20)
- name: Set up Node (22)
uses: actions/setup-node@v4
with:
node-version: 22.10.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-changed-firestore-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
rm -f "$output_file"
continue-on-error: true

- name: Set up Node (20)
- name: Set up Node (22)
uses: actions/setup-node@v4
with:
node-version: 22.10.0
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/test-changed-firestore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
with:
# This makes Actions fetch all Git history so run-changed script can diff properly.
fetch-depth: 0
- name: Set up Node (20)
- name: Set up Node (22)
uses: actions/setup-node@v4
with:
node-version: 22.10.0
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:
needs: build
if: ${{ needs.build.outputs.changed == 'true'}}
steps:
- name: Set up Node (20)
- name: Set up Node (22)
uses: actions/setup-node@v4
with:
node-version: 22.10.0
Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:
needs: build
if: ${{ needs.build.outputs.changed == 'true'}}
steps:
- name: Set up Node (20)
- name: Set up Node (22)
uses: actions/setup-node@v4
with:
node-version: 22.10.0
Expand Down Expand Up @@ -142,7 +142,7 @@ jobs:
needs: build
if: ${{ github.event_name != 'pull_request' }}
steps:
- name: Set up Node (20)
- name: Set up Node (22)
uses: actions/setup-node@v4
with:
node-version: 22.10.0
Expand Down Expand Up @@ -175,7 +175,7 @@ jobs:
steps:
- name: install Firefox stable
run: npx @puppeteer/browsers install firefox@stable
- name: Set up Node (20)
- name: Set up Node (22)
uses: actions/setup-node@v4
with:
node-version: 22.10.0
Expand Down Expand Up @@ -209,7 +209,7 @@ jobs:
name: build.tar.gz
- name: Unzip build artifact
run: tar xf build.tar.gz
- name: Set up Node (20)
- name: Set up Node (22)
uses: actions/setup-node@v4
with:
node-version: 22.10.0
Expand All @@ -227,7 +227,7 @@ jobs:
needs: build
if: ${{ needs.build.outputs.changed == 'true'}}
steps:
- name: Set up Node (20)
- name: Set up Node (22)
uses: actions/setup-node@v4
with:
node-version: 22.10.0
Expand Down Expand Up @@ -264,7 +264,7 @@ jobs:
name: build.tar.gz
- name: Unzip build artifact
run: tar xf build.tar.gz
- name: Set up Node (20)
- name: Set up Node (22)
uses: actions/setup-node@v4
with:
node-version: 22.10.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-changed-misc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
with:
# This makes Actions fetch all Git history so run-changed script can diff properly.
fetch-depth: 0
- name: Set up Node (20)
- name: Set up Node (22)
uses: actions/setup-node@v4
with:
node-version: 22.10.0
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-changed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
with:
# This makes Actions fetch all Git history so run-changed script can diff properly.
fetch-depth: 0
- name: Set up Node (20)
- name: Set up Node (22)
uses: actions/setup-node@v4
with:
node-version: 22.10.0
Expand All @@ -57,7 +57,7 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Node (20)
- name: Set up Node (22)
uses: actions/setup-node@v4
with:
node-version: 22.10.0
Expand All @@ -84,7 +84,7 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Node (20)
- name: Set up Node (22)
uses: actions/setup-node@v4
with:
node-version: 22.10.0
Expand Down
2 changes: 1 addition & 1 deletion config/functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
},
"private": true,
"engines": {
"node": ">=18.0.0"
"node": ">=20.0.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"description": "Generated SDK For default",
"license": "Apache-2.0",
"engines": {
"node": " >=18.0"
"node": " >=22.0.0"
},
"typings": "index.d.ts",
"module": "esm/index.esm.js",
Expand Down
2 changes: 1 addition & 1 deletion e2e/smoke-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@
"webpack-dev-server": "5.2.0"
},
"engines": {
"node": ">=18.0.0"
"node": ">=20.0.0"
}
}
2 changes: 1 addition & 1 deletion integration/compat-interop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@
"typescript": "5.5.4"
},
"engines": {
"node": ">=18.0.0"
"node": ">=20.0.0"
}
}
2 changes: 1 addition & 1 deletion integration/compat-typings/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
"typescript": "5.5.4"
},
"engines": {
"node": ">=18.0.0"
"node": ">=20.0.0"
}
}
2 changes: 1 addition & 1 deletion integration/firestore/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@
"webpack-stream": "7.0.0"
},
"engines": {
"node": ">=18.0.0"
"node": ">=20.0.0"
}
}
2 changes: 1 addition & 1 deletion integration/messaging/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
"selenium-assistant": "6.1.1"
},
"engines": {
"node": ">=18.0.0"
"node": ">=20.0.0"
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "Firebase <[email protected]> (https://firebase.google.com/)",
"license": "Apache-2.0",
"engines": {
"node": ">=18.0.0"
"node": ">=20.0.0"
},
"homepage": "https://github.com/firebase/firebase-js-sdk",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion packages/ai/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "The Firebase AI SDK",
"author": "Firebase <[email protected]> (https://firebase.google.com/)",
"engines": {
"node": ">=18.0.0"
"node": ">=20.0.0"
},
"main": "dist/index.cjs.js",
"browser": "dist/esm/index.esm2017.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/app-check-compat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,6 @@
"reportDir": "./coverage/node"
},
"engines": {
"node": ">=18.0.0"
"node": ">=20.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/app-check/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,6 @@
"reportDir": "./coverage/node"
},
"engines": {
"node": ">=18.0.0"
"node": ">=20.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/app-compat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,6 @@
"reportDir": "./coverage/node"
},
"engines": {
"node": ">=18.0.0"
"node": ">=20.0.0"
}
}
Loading
Loading