From 055ffcd8ee8757fa0654224ee07ecadaef0533b3 Mon Sep 17 00:00:00 2001 From: Tan Le Date: Wed, 24 Apr 2024 15:55:20 +0700 Subject: [PATCH] chore: CI/CD use yarn@4.1.1 --- .github/workflows/cd-deploy.yml | 5 ++++- .github/workflows/pull-request.yml | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cd-deploy.yml b/.github/workflows/cd-deploy.yml index 23e7578ab..ecf8f47d8 100644 --- a/.github/workflows/cd-deploy.yml +++ b/.github/workflows/cd-deploy.yml @@ -31,7 +31,10 @@ jobs: run: npm i --location=global @metacraft/cli@latest - name: Install yarn cli - run: corepack enable && corepack prepare yarn@3.6.4 --activate + run: corepack enable && corepack prepare yarn@4.1.1 --activate + + - name: Set yarn version + run: yarn set version 4.1.1 - name: Install dependencies run: yarn diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 23a5cf786..7b563bb9b 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -28,7 +28,10 @@ jobs: run: npm i --location=global @metacraft/cli@latest - name: Install yarn cli - run: corepack enable && corepack prepare yarn@3.6.4 --activate + run: corepack enable && corepack prepare yarn@4.1.1 --activate + + - name: Set yarn version + run: yarn set version 4.1.1 - name: Install dependencies run: yarn