Skip to content

Commit 78b6486

Browse files
committed
Move Node version from firebase.json to package.json
1 parent 69787c5 commit 78b6486

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.github/workflows/test-changed-misc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: pull_request
44

55
jobs:
66
test:
7-
name: Test Rules Unit Testing package
7+
name: Test Misc Packages If Changed
88
runs-on: ubuntu-latest
99

1010
steps:

packages/rules-unit-testing/firebase.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"functions": {
3-
"source": "./functions",
4-
"runtime": "nodejs16"
3+
"source": "./functions"
54
},
65
"storage": {
76
"rules": "test/storage.rules"

packages/rules-unit-testing/functions/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,8 @@
1010
"dependencies": {
1111
"firebase-admin": "11.0.0",
1212
"firebase-functions": "3.21.0"
13+
},
14+
"engines": {
15+
"node": "16"
1316
}
1417
}

0 commit comments

Comments
 (0)