Skip to content

Commit

Permalink
chore: Run nightly builds on Node 14 (#1717)
Browse files Browse the repository at this point in the history
* 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).

* Run emulator tests only on Node 14
  • Loading branch information
lahirumaramba committed May 19, 2022
1 parent 43da861 commit ff2fb27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit ff2fb27

Please sign in to comment.