Skip to content

Commit d635892

Browse files
committed
I genuinely still don't know why powershell won't use yarn properly
1 parent cd704d5 commit d635892

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/actions/src/init/action.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@ runs:
3636
- name: Setup Aliases (Windows)
3737
if: ${{ inputs.shell == 'pwsh' }}
3838
shell: pwsh
39-
run: npm install -g [email protected]
39+
run: |
40+
corepack prepare [email protected] --activate
41+
Get-Command yarn | Select-Object -ExpandProperty Definition
42+
C:\npm\prefix\yarn.ps1 --version
4043
4144
- name: Use Node.js 💻
4245
uses: actions/setup-node@v4

0 commit comments

Comments
 (0)