From 0ed7c478403e448cb624e3ae4801342cbdbe50d4 Mon Sep 17 00:00:00 2001 From: Mohammer5 Date: Mon, 8 Apr 2024 08:19:24 +0800 Subject: [PATCH] chore(github actions): use node version 20 --- .github/workflows/dhis2-preview-pr.yml | 2 +- .github/workflows/dhis2-verify-lib.yml | 10 +++++----- .nvmrc | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/dhis2-preview-pr.yml b/.github/workflows/dhis2-preview-pr.yml index ac006a0b9c..094b3394c7 100644 --- a/.github/workflows/dhis2-preview-pr.yml +++ b/.github/workflows/dhis2-preview-pr.yml @@ -24,7 +24,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: 18.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 4127fff4bd..1970b4a8c8 100644 --- a/.github/workflows/dhis2-verify-lib.yml +++ b/.github/workflows/dhis2-verify-lib.yml @@ -21,7 +21,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: 18.x + node-version: 20.x - uses: c-hive/gha-yarn-cache@v1 - run: | @@ -46,7 +46,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: 18.x + node-version: 20.x - uses: actions/download-artifact@v2 with: @@ -67,7 +67,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: 18.x + node-version: 20.x - uses: actions/download-artifact@v2 with: @@ -97,7 +97,7 @@ jobs: - uses: actions/setup-node@v1 with: - node-version: 18.x + node-version: 20.x - uses: actions/download-artifact@v2 with: @@ -136,7 +136,7 @@ jobs: token: ${{env.GH_TOKEN}} - uses: actions/setup-node@v3 with: - node-version: 18.x + node-version: 20.x cache: 'yarn' - uses: actions/download-artifact@v2 diff --git a/.nvmrc b/.nvmrc index 6f7f377bf5..9a2a0e219c 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v16 +v20