Skip to content

Commit

Permalink
Merge pull request #894 from cornell-dti/deploy_node_18
Browse files Browse the repository at this point in the history
Deploy Node 18
  • Loading branch information
rgu0114 authored Nov 18, 2024
2 parents 9bc4afc + e869e23 commit d8e80ee
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Set up Node
uses: actions/setup-node@v1
with:
node-version: "^16.20.2"
node-version: "^18.20.0"
- name: Install
run: yarn install
- name: Build Client
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
- name: Set up Node
uses: actions/setup-node@v1
with:
node-version: "^16.20.2"
node-version: "^18.20.0"
- name: Install
run: |
yarn install
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v16.20.2
v18.20.0
2 changes: 1 addition & 1 deletion functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"logs": "firebase functions:log"
},
"engines": {
"node": "16"
"node": "^18.20.0"
},
"main": "lib/index.js",
"dependencies": {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@
"yarn": "^1.22.17"
},
"scripts": {
"build": "react-scripts build",
"build": "NODE_OPTIONS=--openssl-legacy-provider react-scripts build",
"build:staging": "REACT_APP_IS_STAGING=true react-scripts build",
"deploy": "firebase deploy",
"start": "react-scripts start",
"start": "NODE_OPTIONS=--openssl-legacy-provider react-scripts start",
"s": "yarn start",
"test": "NODE_ENV=test firebase emulators:exec --only firestore \"./test.sh\"",
"lint": "eslint . --ext tsx --ext ts",
Expand Down
17 changes: 17 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@
# yarn lockfile v1


"@apidevtools/json-schema-ref-parser@^9.0.3":
version "9.1.2"
resolved "https://registry.yarnpkg.com/@apidevtools/json-schema-ref-parser/-/json-schema-ref-parser-9.1.2.tgz#8ff5386b365d4c9faa7c8b566ff16a46a577d9b8"
integrity sha512-r1w81DpR+KyRWd3f+rk6TNqMgedmAxZP5v5KWlXQWlgMUUtyEJch0DKEci1SorPMiSeM8XPl7MZ3miJ60JIpQg==
dependencies:
"@jsdevtools/ono" "^7.1.3"
"@types/json-schema" "^7.0.6"
call-me-maybe "^1.0.1"
js-yaml "^4.1.0"

"@apidevtools/json-schema-ref-parser@^9.0.3":
version "9.1.2"
resolved "https://registry.yarnpkg.com/@apidevtools/json-schema-ref-parser/-/json-schema-ref-parser-9.1.2.tgz#8ff5386b365d4c9faa7c8b566ff16a46a577d9b8"
Expand Down Expand Up @@ -15864,6 +15874,13 @@ semver@^7.3.2:
dependencies:
lru-cache "^6.0.0"

semver@^7.3.5:
version "7.6.0"
resolved "https://registry.yarnpkg.com/semver/-/semver-7.6.0.tgz#1a46a4db4bffcccd97b743b5005c8325f23d4e2d"
integrity sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==
dependencies:
lru-cache "^6.0.0"

[email protected]:
version "0.17.1"
resolved "https://registry.yarnpkg.com/send/-/send-0.17.1.tgz#c1d8b059f7900f7466dd4938bdc44e11ddb376c8"
Expand Down

0 comments on commit d8e80ee

Please sign in to comment.