Skip to content

Commit 577b330

Browse files
committed
Update GitHub Actions workflow to use Node.js 22.x and switch to pnpm caching
1 parent 087a493 commit 577b330

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/frontend.yml

+7-4
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,20 @@ jobs:
1515

1616
strategy:
1717
matrix:
18-
node-version: [18.x, 20.x, 22.x]
19-
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
18+
node-version: [22.x]
19+
20+
defaults:
21+
run:
22+
working-directory: client
2023

2124
steps:
2225
- uses: actions/checkout@v4
2326
- name: Use Node.js ${{ matrix.node-version }}
24-
working-directory: frontend
2527
uses: actions/setup-node@v4
2628
with:
2729
node-version: ${{ matrix.node-version }}
28-
cache: "npm"
30+
cache: "pnpm"
31+
cache-dependency-path: "frontend/pnpm-lock.yaml"
2932
- run: npm run build
3033
working-directory: frontend
3134
- name: Setup Pages

0 commit comments

Comments
 (0)