diff --git a/.github/workflows/backend.test.unit.code.yml b/.github/workflows/backend.test.unit.code.yml index 1e45cdf217..a6be0bbc08 100644 --- a/.github/workflows/backend.test.unit.code.yml +++ b/.github/workflows/backend.test.unit.code.yml @@ -32,10 +32,6 @@ 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 @@ -43,5 +39,8 @@ jobs: run: docker-compose -f docker-compose.yml up --detach --no-deps database - name: Backend | Unit + - uses: actions/setup-node@v4 + with: + node-version: '>=21' run: npm install && npm run db:migrate && npm run test:unit working-directory: ${{env.WORKING_DIRECTORY}} \ No newline at end of file diff --git a/.github/workflows/presenter.test.unit.code.yml b/.github/workflows/presenter.test.unit.code.yml index b52010a323..708764eb99 100644 --- a/.github/workflows/presenter.test.unit.code.yml +++ b/.github/workflows/presenter.test.unit.code.yml @@ -29,14 +29,12 @@ 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 - name: Presenter | Unit + - uses: actions/setup-node@v4 + with: + node-version: '>=21' run: npm install && npm run test:unit working-directory: ${{env.WORKING_DIRECTORY}} \ No newline at end of file