Skip to content

Commit

Permalink
Update to Node.js 14
Browse files Browse the repository at this point in the history
  • Loading branch information
lahirumaramba committed Jun 9, 2022
1 parent 2233a03 commit b0e6f40
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:

strategy:
matrix:
node-version: [12.x, 14.x]
node-version: [14.x, 16.x]

steps:
- uses: actions/checkout@v1
Expand All @@ -27,7 +27,6 @@ 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
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,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 Expand Up @@ -116,7 +116,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v1
with:
node-version: 12.x
node-version: 14.x

- name: Publish preflight check
id: preflight
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"license": "Apache-2.0",
"homepage": "https://firebase.google.com/",
"engines": {
"node": ">=12.7.0"
"node": ">=14"
},
"scripts": {
"build": "gulp build",
Expand Down

0 comments on commit b0e6f40

Please sign in to comment.