From 7abb26fa1dffec2e6a873df1031c790cd3490b62 Mon Sep 17 00:00:00 2001 From: Mozafar Haider Date: Tue, 5 Nov 2024 11:41:58 +0000 Subject: [PATCH] chore: update github action for setup-node --- .github/workflows/dhis2-deploy-netlify.yml | 4 ++-- .github/workflows/dhis2-verify-lib.yml | 20 ++++++++++---------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/dhis2-deploy-netlify.yml b/.github/workflows/dhis2-deploy-netlify.yml index 9b2d3f1d6..9b78af3ff 100644 --- a/.github/workflows/dhis2-deploy-netlify.yml +++ b/.github/workflows/dhis2-deploy-netlify.yml @@ -24,9 +24,9 @@ jobs: if: "!github.event.push.repository.fork && github.actor != 'dependabot[bot]'" steps: - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 + - uses: actions/setup-node@v4 with: - node-version: 14.x + node-version: 20.x - uses: c-hive/gha-yarn-cache@v1 - run: yarn install --frozen-lockfile diff --git a/.github/workflows/dhis2-verify-lib.yml b/.github/workflows/dhis2-verify-lib.yml index 286442051..29aac06ea 100644 --- a/.github/workflows/dhis2-verify-lib.yml +++ b/.github/workflows/dhis2-verify-lib.yml @@ -18,9 +18,9 @@ jobs: steps: - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 + - uses: actions/setup-node@v4 with: - node-version: 14.x + node-version: 20.x - uses: actions/cache@v2 id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) @@ -40,9 +40,9 @@ jobs: if: "!contains(github.event.head_commit.message, '[skip ci]')" steps: - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 + - uses: actions/setup-node@v4 with: - node-version: 14.x + node-version: 20.x - uses: actions/cache@v2 id: yarn-cache @@ -67,9 +67,9 @@ jobs: if: "!contains(github.event.head_commit.message, '[skip ci]')" steps: - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 + - uses: actions/setup-node@v4 with: - node-version: 14.x + node-version: 20.x - uses: actions/cache@v2 id: yarn-cache @@ -94,9 +94,9 @@ jobs: if: "!contains(github.event.head_commit.message, '[skip ci]')" steps: - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 + - uses: actions/setup-node@v4 with: - node-version: 14.x + node-version: 20.x - uses: actions/cache@v2 id: yarn-cache @@ -119,9 +119,9 @@ jobs: - uses: actions/checkout@v2 with: token: ${{env.GH_TOKEN}} - - uses: actions/setup-node@v1 + - uses: actions/setup-node@v4 with: - node-version: 14.x + node-version: 20.x - uses: actions/download-artifact@v4 with: