Adjust setup-node action for Yarn 3

Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
David Mehren 2023-05-28 19:51:57 +02:00 committed by Tilman Vatteroth
parent 3542a0304c
commit 50b60e30f1

View file

@ -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