Skip to content

Commit fe5d254

Browse files
committed
Add corepack enable to yml
1 parent 59dd052 commit fe5d254

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/pr-preview.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
SURGE_LOGIN: ${{ secrets.SURGE_LOGIN }}
88
SURGE_TOKEN: ${{ secrets.SURGE_TOKEN }}
99
GH_PR_TOKEN: ${{ secrets.GH_PR_TOKEN }}
10-
GH_PR_NUM: ${{ github.event.number }}
10+
GH_PR_NUM: ${{ github.event.number }}
1111
steps:
1212
- uses: actions/checkout@v2
1313
# Yes, we really want to checkout the PR
@@ -24,6 +24,7 @@ jobs:
2424
- uses: actions/setup-node@v1
2525
with:
2626
node-version: '18'
27+
- run: corepack enable
2728
- uses: actions/cache@v4
2829
id: yarn-cache
2930
name: Load npm deps from cache

0 commit comments

Comments
 (0)