Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Commit

Permalink
chore(ci): add engines to docs firebase deployment
Browse files Browse the repository at this point in the history
According to the Firebase docs, this field is necessary: https://firebase.google.com/docs/functions/manage-functions#set_nodejs_version
It's also a good idea to set it because NodeJS 8 is end-of-life, and Firebase will require Node 10 for all functions by  March 15, 2021.
  • Loading branch information
Narretz authored and petebacondarwin committed Sep 30, 2020
1 parent 5193f47 commit 450d32a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/docs.angularjs.org-firebase/functions/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{
"name": "functions",
"description": "Cloud Functions for Firebase",
"engines": {
"node": "10"
},
"scripts": {
"lint": "eslint .",
"serve": "firebase serve --only functions",
Expand Down

0 comments on commit 450d32a

Please sign in to comment.