Skip to content

Commit 47c9b4a

Browse files
Pierre-Luc GagnéCopilot
andcommitted
ci: suppress Node.js 20 deprecation warning and gate integration tests on unit tests
- Add FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true workflow env to opt into Node.js 24 early and suppress the actions/checkout@v4 deprecation warning - Add 'needs: unit-tests' to integration-tests job so it is skipped automatically when unit tests fail Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 6e198bb commit 47c9b4a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
branches: [main]
88
workflow_dispatch:
99

10+
env:
11+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: 'true'
12+
1013
jobs:
1114
unit-tests:
1215
runs-on: ubuntu-latest
@@ -42,6 +45,7 @@ jobs:
4245
run: ctest --preset release
4346

4447
integration-tests:
48+
needs: unit-tests
4549
runs-on: ubuntu-latest
4650

4751
env:

0 commit comments

Comments
 (0)