Skip to content

Commit

Permalink
chore: Upgrade to NodeJS 20 (#501)
Browse files Browse the repository at this point in the history
* chore: update to Node.js 20

* fix: legacy ssl flag
  • Loading branch information
tuliomir authored Feb 2, 2024
1 parent 0c6771b commit 9c887af
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
node-version: [14.x]
node-version: [20.x]
steps:
- name: Checkout
# https://github.com/actions/checkout/releases/tag/v4.0.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
timeout-minutes: 40 # default is 360
strategy:
matrix:
node-version: [14.x]
node-version: [20.x]
steps:
# https://github.com/actions/checkout/releases/tag/v4.0.0
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v14
v20
2 changes: 1 addition & 1 deletion ELECTRON.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Install

Must use node v14
Must use node v20 or greater

## Running on Electron

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ A transaction is displayed.

### Prerequisites

* Install node v14
* Install node v20

### To Install

Expand Down
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
"description": "Light wallet for Hathor Network",
"author": "Hathor Labs <[email protected]> (https://hathor.network/)",
"version": "0.27.1-rc4",
"engines": {
"node": ">=20.0.0",
"npm": ">=10.0.0"
},
"private": true,
"dependencies": {
"@hathor/wallet-lib": "1.0.4",
Expand Down Expand Up @@ -59,9 +63,9 @@
"scripts": {
"build-css": "sass --no-source-map src/index.scss src/index.css",
"watch-css": "npm run build-css && sass --no-source-map -w src/index.scss src/index.css",
"start-js": "react-scripts start",
"start-js": "react-scripts --openssl-legacy-provider start",
"start": "npm-run-all -p watch-css start-js",
"build-js": "react-scripts build",
"build-js": "react-scripts --openssl-legacy-provider build",
"build": "npm-run-all build-css build-js",
"test": "react-scripts test --env=./tests/env.js",
"e2e": "cypress run",
Expand Down

0 comments on commit 9c887af

Please sign in to comment.