@@ -135,7 +135,7 @@ jobs:
135
135
- name : Use Node.js
136
136
uses : actions/setup-node@v4
137
137
with :
138
- node-version : 18
138
+ node-version-file : package.json
139
139
140
140
- name : Get artifact dir name
141
141
run : node .github/workflows/get_artifact_dir_name.js
@@ -248,7 +248,7 @@ jobs:
248
248
- name : " Windows: set SHELLOPTS=igncr"
249
249
if : runner.os == 'Windows'
250
250
run : echo "SHELLOPTS=igncr" >>"$GITHUB_ENV"
251
-
251
+
252
252
- name : Build compiler
253
253
if : runner.os != 'Linux'
254
254
run : opam exec -- dune build --display quiet --profile release
@@ -274,7 +274,7 @@ jobs:
274
274
if : steps.ninja-build-cache.outputs.cache-hit != 'true'
275
275
uses : actions/setup-python@v5
276
276
with :
277
- python-version : ' 3.10'
277
+ python-version : " 3.10"
278
278
279
279
- name : Setup MSVC for ninja build (Windows)
280
280
if : steps.ninja-build-cache.outputs.cache-hit != 'true' && runner.os == 'Windows'
@@ -338,7 +338,7 @@ jobs:
338
338
with :
339
339
path : ./tests/benchmark-cache
340
340
key : syntax-benchmark-v1
341
-
341
+
342
342
- name : Create new benchmark data and comment on alert
343
343
# Do not run for PRs created from other repos as those won't be able to write to the pull request
344
344
if : ${{ matrix.benchmarks && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.event.repository.full_name) }}
@@ -359,7 +359,7 @@ jobs:
359
359
with :
360
360
path : ./tests/benchmark-cache
361
361
key : syntax-benchmark-v1
362
-
362
+
363
363
- name : Build playground compiler
364
364
if : matrix.build_playground
365
365
run : |
@@ -396,7 +396,7 @@ jobs:
396
396
needs :
397
397
- build-compiler
398
398
- build-rewatch
399
-
399
+
400
400
runs-on : ubuntu-latest
401
401
402
402
steps :
@@ -406,7 +406,7 @@ jobs:
406
406
- name : Use Node.js
407
407
uses : actions/setup-node@v4
408
408
with :
409
- node-version : 18
409
+ node-version-file : package.json
410
410
411
411
- name : NPM install
412
412
run : npm ci --ignore-scripts
@@ -466,7 +466,7 @@ jobs:
466
466
- name : Use Node.js
467
467
uses : actions/setup-node@v4
468
468
with :
469
- node-version : 18
469
+ node-version-file : package.json
470
470
471
471
- name : Download artifacts
472
472
uses : actions/download-artifact@v4
@@ -500,7 +500,7 @@ jobs:
500
500
- name : Use Node.js
501
501
uses : actions/setup-node@v4
502
502
with :
503
- node-version : 18
503
+ node-version-file : package.json
504
504
registry-url : https://registry.npmjs.org # Needed to make auth work for publishing
505
505
506
506
- name : Download artifacts
0 commit comments