This repository was archived by the owner on Mar 5, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 4545 runs-on : ubuntu-latest
4646 strategy :
4747 matrix :
48- node : [14, 16]
48+ node : [14, 16, 18 ]
4949 env :
5050 TEST : " unit"
5151 steps :
@@ -124,7 +124,7 @@ jobs:
124124 runs-on : ubuntu-latest
125125 strategy :
126126 matrix :
127- node : [14, 16]
127+ node : [14, 16, 18 ]
128128 env :
129129 TEST : " eth2"
130130 steps :
Original file line number Diff line number Diff line change 77# Exit immediately on error
88set -o errexit
99
10+ [[ " $( node -v | cut -c 2-3) " -ge 17 ]] && export NODE_OPTIONS=--openssl-legacy-provider;
11+
1012if [ " $TEST " = " unit" ]; then
1113
1214 npm run build
Original file line number Diff line number Diff line change 11const path = require ( "path" ) ;
22const webpack = require ( "webpack" ) ;
33const { CleanWebpackPlugin } = require ( "clean-webpack-plugin" ) ;
4+ // https://github.com/webpack/webpack/issues/13572#issuecomment-923736472
5+ const crypto = require ( "crypto" ) ;
6+ const crypto_createHash_alg = crypto . createHash ;
7+ crypto . createHash = ( algorithm , options ) => crypto_createHash_alg ( algorithm == "md4" ? "sha256" : algorithm , options ) ;
48
59module . exports = {
610 mode : "production" ,
You can’t perform that action at this time.
0 commit comments