File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change 1212 RUST_TEST_THREADS : 1
1313 SQL_URL : postgres://db_user:db_pass@localhost:5432/test_db
1414
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+
1521jobs :
1622 backend_test :
1723 name : Run backend tests
3743 - 5432:5432
3844
3945 steps :
40- - uses : actions/checkout@v4.1.1
46+ - uses : actions/checkout@v4.2.0
4147
4248 - name : Cache dependencies
4349 uses : Swatinem/rust-cache@v2.7.3
@@ -70,15 +76,15 @@ jobs:
7076 working-directory : ./atcoder-problems-frontend
7177
7278 steps :
73- - uses : actions/checkout@v4.1.1
79+ - uses : actions/checkout@v4.2.0
7480
7581 - name : Use Node.js
76- uses : actions/setup-node@v4.0.2
82+ uses : actions/setup-node@v4.0.4
7783 with :
7884 node-version : 20
7985
8086 - name : Cache dependencies
81- uses : actions/cache@v4.0.1
87+ uses : actions/cache@v4.0.2
8288 with :
8389 path : |
8490 ~/.cache/Cypress
9399 with :
94100 mdbook-version : " latest"
95101
96- # Node 17でOpenSSLがデフォルトでMD4ハッシュを提供しなくなり、
97- # これに依存していたwebpackに依存するreact-scripts 4.x系でのビルドができなくなってしまった。
98- # --openssl-legacy-providerをオプションとして渡すことで、Node 17以降でもビルドができる。
99- # react-scripts 4.x系から移行したら、このオプションは不要になる。
100102 - name : build
101- run : export NODE_OPTIONS=--openssl-legacy-provider && yarn build
103+ run : yarn build
102104 - name : test
103105 run : yarn test
104106 - name : lint
You can’t perform that action at this time.
0 commit comments