mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-15 07:34:42 -04:00
Adjust setup-node action for Yarn 3
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
3542a0304c
commit
50b60e30f1
1 changed files with 2 additions and 2 deletions
4
.github/actions/setup-node/action.yml
vendored
4
.github/actions/setup-node/action.yml
vendored
|
@ -15,7 +15,7 @@ runs:
|
||||||
steps:
|
steps:
|
||||||
- name: Get yarn cache directory path
|
- name: Get yarn cache directory path
|
||||||
id: yarn-cache-dir-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
|
shell: bash
|
||||||
|
|
||||||
- name: Cache yarn cache
|
- name: Cache yarn cache
|
||||||
|
@ -31,6 +31,6 @@ runs:
|
||||||
node-version: ${{ inputs.NODEJS_VERSION }}
|
node-version: ${{ inputs.NODEJS_VERSION }}
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: yarn install --frozen-lockfile --prefer-offline
|
run: yarn install --immutable
|
||||||
working-directory: .
|
working-directory: .
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue