Skip to content

Commit

Permalink
Revert to node 14
Browse files Browse the repository at this point in the history
  • Loading branch information
abraham committed Jan 3, 2022
1 parent e6758a2 commit 1fcf209
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/firebase-hosting-pull-request.yml
Expand Up @@ -7,7 +7,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16
node-version: 14
- name: Create temp serviceAccount.json
run: echo "{}" > serviceAccount.json
- run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/firebase-hosting-push.yaml
Expand Up @@ -10,7 +10,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16
node-version: 14
- name: Create temp serviceAccount.json
run: echo "{}" > serviceAccount.json
- run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: 16
node-version: 14

- name: Install dependencies
run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/00-set-up.md
Expand Up @@ -6,7 +6,7 @@ Project Hoverboard locally in less than 15 minutes.
## Install the Hoverboard and dependencies

1. [Fork repository](https://github.com/gdg-x/hoverboard/fork) and clone your fork locally
1. Install [Node.js (v16)](https://nodejs.org/en/download/)
1. Install [Node.js (v14)](https://nodejs.org/en/download/)
1. Install project dependencies: `npm ci` (`yarn` should work but it's not officially supported)
1. Create [Firebase account](https://console.firebase.google.com) and login into [Firebase CLI](https://firebase.google.com/docs/cli/): `npx firebase login`
1. Update [Hoverboard config](/config) and [Resources](/data). More info can be found [here](01-configure-app.md)
Expand Down
20 changes: 10 additions & 10 deletions functions/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions functions/package.json
Expand Up @@ -6,7 +6,7 @@
"module": "dist/index.js",
"type": "module",
"engines": {
"node": "16",
"node": "14",
"npm": "7"
},
"scripts": {
Expand All @@ -30,7 +30,7 @@
"node-fetch": "^3.1.0"
},
"devDependencies": {
"@tsconfig/node16": "^1.0.2",
"@tsconfig/node14": "^1.0.1",
"concurrently": "^6.5.1",
"cpx2": "^4.1.2",
"rimraf": "^3.0.2",
Expand Down
2 changes: 1 addition & 1 deletion functions/tsconfig.json
@@ -1,5 +1,5 @@
{
"extends": "@tsconfig/node16/tsconfig.json",
"extends": "@tsconfig/node14/tsconfig.json",
"compilerOptions": {
"noImplicitReturns": false,
"noUnusedLocals": true,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -4,7 +4,7 @@
"private": true,
"description": "Conference website template",
"engines": {
"node": "16",
"node": "14",
"npm": "7"
},
"scripts": {
Expand Down

0 comments on commit 1fcf209

Please sign in to comment.