From 50b60e30f1603b4ee3aec00c582618cb5649f455 Mon Sep 17 00:00:00 2001 From: David Mehren Date: Sun, 28 May 2023 19:51:57 +0200 Subject: [PATCH] Adjust setup-node action for Yarn 3 Signed-off-by: David Mehren --- .github/actions/setup-node/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/setup-node/action.yml b/.github/actions/setup-node/action.yml index 31a44ea40..4f154779c 100644 --- a/.github/actions/setup-node/action.yml +++ b/.github/actions/setup-node/action.yml @@ -15,7 +15,7 @@ runs: steps: - name: Get yarn cache directory path id: yarn-cache-dir-path - run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT + run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT shell: bash - name: Cache yarn cache @@ -31,6 +31,6 @@ runs: node-version: ${{ inputs.NODEJS_VERSION }} - name: Install dependencies - run: yarn install --frozen-lockfile --prefer-offline + run: yarn install --immutable working-directory: . shell: bash