File tree 1 file changed +11
-9
lines changed
1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change 12
12
RUST_TEST_THREADS : 1
13
13
SQL_URL : postgres://db_user:db_pass@localhost:5432/test_db
14
14
15
+ # Node 17でOpenSSLがデフォルトでMD4ハッシュを提供しなくなり、
16
+ # これに依存していたwebpackに依存するreact-scripts 4.x系でのビルドができなくなってしまった。
17
+ # --openssl-legacy-providerをオプションとして渡すことで、Node 17以降でもビルドができる。
18
+ # react-scripts 4.x系から移行したら、このオプションは不要になる。
19
+ NODE_OPTIONS : --openssl-legacy-provider
20
+
15
21
jobs :
16
22
backend_test :
17
23
name : Run backend tests
37
43
- 5432:5432
38
44
39
45
steps :
40
- - uses : actions/checkout@v4.1.1
46
+ - uses : actions/checkout@v4.2.0
41
47
42
48
- name : Cache dependencies
43
49
@@ -70,15 +76,15 @@ jobs:
70
76
working-directory : ./atcoder-problems-frontend
71
77
72
78
steps :
73
- - uses : actions/checkout@v4.1.1
79
+ - uses : actions/checkout@v4.2.0
74
80
75
81
- name : Use Node.js
76
-
82
+
77
83
with :
78
84
node-version : 20
79
85
80
86
- name : Cache dependencies
81
-
87
+
82
88
with :
83
89
path : |
84
90
~/.cache/Cypress
93
99
with :
94
100
mdbook-version : " latest"
95
101
96
- # Node 17でOpenSSLがデフォルトでMD4ハッシュを提供しなくなり、
97
- # これに依存していたwebpackに依存するreact-scripts 4.x系でのビルドができなくなってしまった。
98
- # --openssl-legacy-providerをオプションとして渡すことで、Node 17以降でもビルドができる。
99
- # react-scripts 4.x系から移行したら、このオプションは不要になる。
100
102
- name : build
101
- run : export NODE_OPTIONS=--openssl-legacy-provider && yarn build
103
+ run : yarn build
102
104
- name : test
103
105
run : yarn test
104
106
- name : lint
You can’t perform that action at this time.
0 commit comments