Skip to content

Commit 2dd874a

Browse files
authored
Merge branch '6-dev' into issue-1448-caching
2 parents 20da6f3 + 4e51833 commit 2dd874a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/build_deploy.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,13 @@ jobs:
3535
uses: actions/setup-node@v3
3636
with:
3737
node-version: '16'
38-
38+
- name: Install Yarn
39+
run: npm install -g yarn
3940
# node cache
4041
- name: Get yarn cache directory path
4142
id: yarn-cache-dir-path
4243
working-directory: submodules/volto
43-
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
44+
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
4445
- uses: actions/cache@v3
4546
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
4647
with:

0 commit comments

Comments
 (0)