Skip to content

Commit 8cf96a5

Browse files
committed
update github action to use yarn
1 parent 1d760ab commit 8cf96a5

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,17 @@ jobs:
2424
- name: Setup node
2525
uses: actions/setup-node@v4
2626
with:
27-
node-version: latest
27+
node-version: '23'
28+
cache: 'yarn'
29+
- name: Enable corepack
30+
run: corepack enable
2831

2932
- name: Restore dependencies
30-
run: npm install
33+
run: yarn install --immutable
3134
- name: Build
3235
env:
3336
VITE_SITE_URL: ${{ vars.SITE_URL }}
34-
run: npm run build
37+
run: yarn build
3538

3639
- name: Setup Pages
3740
uses: actions/configure-pages@v5

0 commit comments

Comments
 (0)