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