From de788aaff809338972ae76e020b3d642358a0dfd Mon Sep 17 00:00:00 2001 From: Lahiru Maramba Date: Thu, 19 May 2022 13:35:22 -0400 Subject: [PATCH 1/2] chore: Run nightly builds on Node 14 - Node 12 reached EoL in April 2022. - `firebase-tools` has dropped support for Node 12 this breaks our nightly workflows. - Updating the nightly workflow to run on Node 14 (we will also deprecate and drop support for Node 12 in Admin SDK in the upcoming releases). --- .github/workflows/nightly.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 76fc1d8c9c..1e4997cbe7 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -36,7 +36,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v1 with: - node-version: 12.x + node-version: 14.x - name: Install and build run: | From 3fd6ddfe4f62b5a7672d9dbb25c36749dc09a5f7 Mon Sep 17 00:00:00 2001 From: Lahiru Maramba Date: Thu, 19 May 2022 13:48:08 -0400 Subject: [PATCH 2/2] Run emulator tests only on Node 14 --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 604dba4eef..7c49d56619 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,6 +27,7 @@ jobs: - name: Run api-extractor run: npm run api-extractor - name: Run emulator-based integration tests + if: matrix.node-version == '14.x' run: | npm install -g firebase-tools firebase emulators:exec --project fake-project-id --only auth,database,firestore \