Skip to content

Commit 92be334

Browse files
committed
Try something new with corepack enable
1 parent d635892 commit 92be334

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,14 @@ runs:
3030
using: composite
3131
steps:
3232
- name: Enable Corepack
33-
run: corepack enable
33+
run: corepack enable ~/corepack
3434
shell: ${{ inputs.shell }}
3535

3636
- name: Setup Aliases (Windows)
3737
if: ${{ inputs.shell == 'pwsh' }}
3838
shell: pwsh
3939
run: |
40+
dir ~/corepack
4041
corepack prepare [email protected] --activate
4142
Get-Command yarn | Select-Object -ExpandProperty Definition
4243
C:\npm\prefix\yarn.ps1 --version

0 commit comments

Comments
 (0)