Skip to content

Commit 9767c04

Browse files
committed
ci: OPTIC-2173: Run yarn3 - adding debug
1 parent a920498 commit 9767c04

File tree

1 file changed

+15
-1
lines changed
  • .github/actions/setup-frontend-environment

1 file changed

+15
-1
lines changed

.github/actions/setup-frontend-environment/action.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,15 @@ runs:
2828
run: |
2929
corepack enable
3030
corepack prepare yarn@${{ inputs.yarn-version }} --activate
31+
corepack yarn --version
32+
which yarn
33+
ls -l $(which yarn)
3134
3235
- name: Get yarn cache directory path
3336
id: yarn-cache-dir-path
3437
shell: bash
3538
run: |
36-
dir=$(yarn config get cacheFolder --no-clipboard --no-color | tr -d '\n' | xargs)
39+
dir=$(corepack yarn config get cacheFolder --no-clipboard --no-color | tr -d '\n' | xargs)
3740
echo "dir=$dir" >> $GITHUB_OUTPUT
3841
3942
- name: Configure yarn cache
@@ -50,3 +53,14 @@ runs:
5053
working-directory: "${{ inputs.directory }}"
5154
shell: bash
5255
run: yarn install --immutable
56+
57+
- name: Debug Yarn version
58+
shell: bash
59+
run: yarn --version
60+
61+
- name: Debug PATH and corepack
62+
shell: bash
63+
run: |
64+
echo $PATH
65+
which yarn
66+
corepack --version

0 commit comments

Comments
 (0)