Skip to content

Commit

Permalink
Upgrade Firebase to Node 18 (#1697)
Browse files Browse the repository at this point in the history
* Upgrade to node-18

* Remove node -v command

* Run prettier
  • Loading branch information
kiminkim724 authored Feb 5, 2025
1 parent f5a188f commit 1030e76
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"functions": {
"predeploy": ["yarn build:functions"],
"source": "functions",
"runtime": "nodejs16"
"runtime": "nodejs18"
},
"firestore": {
"rules": "firestore.rules",
Expand Down
2 changes: 1 addition & 1 deletion infra/Dockerfile.firebase
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM andreysenov/firebase-tools:latest-node-16
FROM andreysenov/firebase-tools:latest-node-18

USER root
RUN apt update && apt install -y curl
Expand Down
2 changes: 1 addition & 1 deletion infra/firebase.compose.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"functions": {
"predeploy": ["yarn build:functions"],
"source": "functions",
"runtime": "nodejs16"
"runtime": "nodejs18"
},
"firestore": {
"rules": "firestore.rules",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"setRole": "ts-node -P tsconfig.script.json scripts/firebase-admin/setRole.ts"
},
"engines": {
"node": ">=16",
"node": ">=18",
"yarn": "^1.22.19"
},
"browserslist": {
Expand Down

0 comments on commit 1030e76

Please sign in to comment.