diff --git a/.github/workflows/deploy-chromatic.yml b/.github/workflows/deploy-chromatic.yml index ed64efb8..46b7ce55 100644 --- a/.github/workflows/deploy-chromatic.yml +++ b/.github/workflows/deploy-chromatic.yml @@ -24,8 +24,8 @@ jobs: with: node-version: 18.17.0 - - name: Install yarn v3 - run: npm install -g yarn@3 + - name: Upgrade to yarn v3 + run: yarn set version berry - name: Get yarn cache directory path id: yarn_cache_dir_path diff --git a/.github/workflows/publish-ghpages.yml b/.github/workflows/publish-ghpages.yml index 2bd39f11..3d366555 100644 --- a/.github/workflows/publish-ghpages.yml +++ b/.github/workflows/publish-ghpages.yml @@ -20,8 +20,8 @@ jobs: with: node-version: 18.17.0 - - name: Install yarn v3 - run: npm install -g yarn@3 + - name: Upgrade to yarn v3 + run: yarn set version berry - name: Get yarn cache directory path id: yarn_cache_dir_path