Skip to content

Commit

Permalink
fix: support node 20
Browse files Browse the repository at this point in the history
  • Loading branch information
snorreks committed Nov 23, 2023
1 parent 4485039 commit b606ebf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/executors/build/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
},
"nodeVersion": {
"type": "string",
"enum": ["14", "16", "18"],
"enum": ["14", "16", "18", "20"],
"description": "The node version to use for the functions",
"aliases": ["node"]
},
Expand Down
2 changes: 1 addition & 1 deletion src/executors/deploy/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
},
"nodeVersion": {
"type": "string",
"enum": ["14", "16", "18"],
"enum": ["14", "16", "18", "20"],
"description": "The node version to use for the functions",
"aliases": ["node"]
},
Expand Down
2 changes: 1 addition & 1 deletion src/types/helper-options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import type { ReferenceOptions as FBReferenceOptions } from 'firebase-functions/
import type { StorageOptions } from 'firebase-functions/v2/storage';
import type { ScheduleOptions as FBScheduleOptions } from 'firebase-functions/v2/scheduler';
import type { GlobalOptions } from 'firebase-functions/v2/options';
export type NodeVersion = '14' | '16' | '18';
export type NodeVersion = '14' | '16' | '18' | '20';

export interface BaseFunctionOptions<T extends string = string>
extends GlobalOptions {
Expand Down

0 comments on commit b606ebf

Please sign in to comment.