Skip to content

Commit bbb8657

Browse files
committed
node 18 upgrades without using openssl legacy provider for test script
1 parent a7d233d commit bbb8657

File tree

6 files changed

+20
-6
lines changed

6 files changed

+20
-6
lines changed

.github/workflows/cd.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- name: Set up Node
1313
uses: actions/setup-node@v1
1414
with:
15-
node-version: "^16.20.2"
15+
node-version: "^18.20.0"
1616
- name: Install
1717
run: yarn install
1818
- name: Build Client

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
- name: Set up Node
1010
uses: actions/setup-node@v1
1111
with:
12-
node-version: "^16.20.2"
12+
node-version: "^18.20.0"
1313
- name: Install
1414
run: |
1515
yarn install

.nvmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v16.20.2
1+
v18.20.0

functions/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"logs": "firebase functions:log"
1111
},
1212
"engines": {
13-
"node": "^16.20.2"
13+
"node": "^18.20.0"
1414
},
1515
"main": "lib/index.js",
1616
"dependencies": {

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@
5656
"yarn": "^1.22.17"
5757
},
5858
"scripts": {
59-
"build": "react-scripts build",
59+
"build": "NODE_OPTIONS=--openssl-legacy-provider react-scripts build",
6060
"build:staging": "REACT_APP_IS_STAGING=true react-scripts build",
6161
"deploy": "firebase deploy",
62-
"start": "react-scripts start",
62+
"start": "NODE_OPTIONS=--openssl-legacy-provider react-scripts start",
6363
"s": "yarn start",
6464
"test": "NODE_ENV=test firebase emulators:exec --only firestore \"./test.sh\"",
6565
"lint": "eslint . --ext tsx --ext ts",

yarn.lock

+14
Original file line numberDiff line numberDiff line change
@@ -6177,6 +6177,13 @@ debug@^3.1.0, debug@^3.1.1, debug@^3.2.5, debug@^3.2.7:
61776177
dependencies:
61786178
ms "^2.1.1"
61796179

6180+
debug@^4.3.1:
6181+
version "4.3.4"
6182+
resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865"
6183+
integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==
6184+
dependencies:
6185+
ms "2.1.2"
6186+
61806187
decamelize@^1.2.0:
61816188
version "1.2.0"
61826189
resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290"
@@ -14634,6 +14641,13 @@ semver@^7.3.2:
1463414641
dependencies:
1463514642
lru-cache "^6.0.0"
1463614643

14644+
semver@^7.3.5:
14645+
version "7.6.0"
14646+
resolved "https://registry.yarnpkg.com/semver/-/semver-7.6.0.tgz#1a46a4db4bffcccd97b743b5005c8325f23d4e2d"
14647+
integrity sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==
14648+
dependencies:
14649+
lru-cache "^6.0.0"
14650+
1463714651
1463814652
version "0.17.1"
1463914653
resolved "https://registry.yarnpkg.com/send/-/send-0.17.1.tgz#c1d8b059f7900f7466dd4938bdc44e11ddb376c8"

0 commit comments

Comments
 (0)