Skip to content

Commit 4c2fabc

Browse files
committed
🔧 Setup corepack in workflow
1 parent f18b622 commit 4c2fabc

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

‎.github/workflows/publish.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,19 @@ jobs:
66
steps:
77
- uses: actions/checkout@v3
88

9-
- name: Set Node Version to 18
9+
- name: Set Node Version to 22
1010
uses: actions/setup-node@v2
1111
with:
12-
node-version: '18'
12+
node-version: '22'
13+
14+
- name: Enable Corepack
15+
run: corepack enable
1316

1417
- name: Install Dependencies
15-
uses: borales/actions-yarn@v4
16-
with:
17-
cmd: install
18+
run: yarn install
1819

19-
- name: Build Production Bundle
20-
uses: borales/actions-yarn@v4
21-
with:
22-
cmd: build
20+
- name: Build
21+
run: yarn build
2322

2423
- name: Push to Build Branch
2524
if: github.ref == 'refs/heads/main'

0 commit comments

Comments
 (0)