-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Upgradinge base node version to 18 * Correcting launching firebase in ci
- Loading branch information
1 parent
85ebc01
commit 09fb683
Showing
5 changed files
with
4,684 additions
and
6,091 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ parameters: | |
executors: | ||
default: | ||
docker: | ||
- image: cimg/node:16.15.1 | ||
- image: cimg/node:18.19.0 | ||
environment: | ||
GOOGLE_APPLICATION_CREDENTIALS: google_application_credentials.json | ||
|
||
|
@@ -30,8 +30,8 @@ commands: | |
- run: | ||
name: Install << parameters.package-name >> | ||
command: | | ||
npm install --global \ | ||
<< parameters.package-name >>@$(node --print --eval='require("./package-lock.json").packages["node_modules/<< parameters.package-name >>"].version') \ | ||
npm install \ | ||
<< parameters.package-name >>@$(node --print --eval='require("./package-lock.json").packages["node_modules/<< parameters.package-name >>"].version') \ | ||
setup-firebase-auth: | ||
parameters: | ||
firebase-project: | ||
|
@@ -67,7 +67,7 @@ jobs: | |
firebase-project: << parameters.firebase-project >> | ||
- install-dependency-as-global-package: | ||
package-name: firebase-tools | ||
- run: firebase --project=<< parameters.firebase-project >> functions:config:get > config.json | ||
- run: npx firebase --project=<< parameters.firebase-project >> functions:config:get > config.json | ||
- run: npx [email protected] --required --noExtraProps --out config-schema.json functions/src/config.ts Config | ||
- run: npx --package ajv-cli ajv validate -s config-schema.json -d config.json | ||
|
||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,7 @@ | |
"typescript": "3.8.3" | ||
}, | ||
"engines": { | ||
"node": "16" | ||
"node": "18" | ||
}, | ||
"private": true | ||
} |
Oops, something went wrong.