Skip to content

Commit

Permalink
change: Update Node support to 18 (#2756)
Browse files Browse the repository at this point in the history
  • Loading branch information
lahirumaramba authored Nov 4, 2024
1 parent 2144b12 commit 3ae5c63
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:

strategy:
matrix:
node-version: [14.x, 16.x, 18.x, 20.x, 22.x]
node-version: [18.x, 20.x, 22.x]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 14.x
node-version: 18.x

- name: Install and build
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 14.x
node-version: 18.x

- name: Install and build
run: |
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 14.x
node-version: 18.x

- name: Publish preflight check
id: preflight
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ requests, code review feedback, and also pull requests.

## Supported Environments

We support Node.js 14 and higher. However, Node.js 14 and 16 support is deprecated. We strongly encourage
you to use Node.js 18 or higher as we will drop support for Node.js 14 and 16 in the next major version.
We support Node.js 18 and higher.

Please also note that the Admin SDK should only
be used in server-side/back-end environments controlled by the app developer.
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"license": "Apache-2.0",
"homepage": "https://firebase.google.com/",
"engines": {
"node": ">=14"
"node": ">=18"
},
"scripts": {
"build": "gulp build",
Expand Down

0 comments on commit 3ae5c63

Please sign in to comment.