From 9a1d59120a5572f8e268449ac4726ca65a7847de Mon Sep 17 00:00:00 2001 From: adidimant Date: Wed, 10 Jul 2024 01:33:11 +0300 Subject: [PATCH] RID-4898 update release.yml node envirovnment & yarn steps --- .github/workflows/release.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b421ba8..ef27f08 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,7 +1,7 @@ name: Release Artifact env: - NODE_VERSION: 16.14 + NODE_VERSION: 18.0.0 RUNID_VERSION_SUFFIX: ${{ github.run_id }}.${{ github.run_attempt }} on: @@ -26,13 +26,16 @@ jobs: - name: Checkout uses: actions/checkout@v3 - - name: Install yarn - run: npm install --global yarn + - name: Enable Corepack + run: corepack enable - - name: Install dependencies + - name: Prepare Yarn 3.4.1 + run: corepack prepare yarn@3.4.1 --activate + + - name: Install package dependencies run: | cd package - yarn + yarn install --frozen-lockfile - name: Build run: |