From 32b4f568fad73e4b89647438606bec3df709af41 Mon Sep 17 00:00:00 2001 From: mahula Date: Sat, 9 Mar 2024 19:33:01 +0100 Subject: [PATCH] set node version in unit test workflows --- .github/workflows/backend.test.unit.code.yml | 4 ++++ .github/workflows/presenter.test.unit.code.yml | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/.github/workflows/backend.test.unit.code.yml b/.github/workflows/backend.test.unit.code.yml index c04c5f14b5..1e45cdf217 100644 --- a/.github/workflows/backend.test.unit.code.yml +++ b/.github/workflows/backend.test.unit.code.yml @@ -32,6 +32,10 @@ jobs: env: WORKING_DIRECTORY: ./backend steps: + - name: Set Node.js version + - uses: actions/setup-node@v4 + with: + node-version: '>=21' - name: Checkout code uses: actions/checkout@v4 diff --git a/.github/workflows/presenter.test.unit.code.yml b/.github/workflows/presenter.test.unit.code.yml index e69966ec43..b52010a323 100644 --- a/.github/workflows/presenter.test.unit.code.yml +++ b/.github/workflows/presenter.test.unit.code.yml @@ -29,6 +29,11 @@ jobs: env: WORKING_DIRECTORY: ./presenter steps: + - name: Set Node version + - uses: actions/setup-node@v4 + with: + node-version: '>=21' + - name: Checkout code uses: actions/checkout@v4