diff --git a/.github/workflows/docs-prs.yml b/.github/workflows/docs-prs.yml index 3452e7f4..3e5a4231 100644 --- a/.github/workflows/docs-prs.yml +++ b/.github/workflows/docs-prs.yml @@ -19,7 +19,7 @@ jobs: - name: Install Node.js uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 20 cache: 'pnpm' - name: Install dependencies diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 722d3e4b..98127880 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -21,7 +21,7 @@ jobs: - name: Install Node.js uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 20 cache: 'pnpm' - name: Install dependencies diff --git a/package.json b/package.json index 32755512..881e4abd 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "Official Firebase bindings for Vue.js", "packageManager": "pnpm@9.5.0", "engines": { - "node": ">=18" + "node": ">=20" }, "volta": { "node": "20.11.1" @@ -75,7 +75,7 @@ }, "peerDependencies": { "consola": "^3.2.3", - "firebase": "^9.0.0 || ^10.0.0 || ^11.0.0", + "firebase": "^9.0.0 || ^10.0.0 || ^11.0.0 || ^12.0.0", "vue": "^2.7.0 || ^3.2.0" }, "peerDependenciesMeta": { diff --git a/packages/nuxt/playground/firebase.json b/packages/nuxt/playground/firebase.json index aee9d377..e6416b75 100644 --- a/packages/nuxt/playground/firebase.json +++ b/packages/nuxt/playground/firebase.json @@ -1,6 +1,6 @@ { "functions": { - "runtime": "nodejs18", + "runtime": "nodejs20", "source": ".output/server" }, "hosting": { diff --git a/playground/functions/package.json b/playground/functions/package.json index 0ac04ff6..1bbdeeca 100644 --- a/playground/functions/package.json +++ b/playground/functions/package.json @@ -11,7 +11,7 @@ "logs": "firebase functions:log" }, "engines": { - "node": ">=18" + "node": ">=20" }, "main": "lib/index.js", "dependencies": {