Skip to content

Commit 31c972e

Browse files
committed
Update frontend.yml to simplify Node.js setup and remove matrix strategy
1 parent dfddfa6 commit 31c972e

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.github/workflows/frontend.yml

+2-8
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,16 @@ jobs:
1313
build:
1414
runs-on: ubuntu-latest
1515

16-
strategy:
17-
matrix:
18-
node-version: [22.x]
19-
2016
defaults:
2117
run:
2218
working-directory: client
2319

2420
steps:
2521
- uses: actions/checkout@v4
26-
- name: Use Node.js ${{ matrix.node-version }}
22+
- name: Use Node.js
2723
uses: actions/setup-node@v4
2824
with:
29-
node-version: ${{ matrix.node-version }}
30-
cache: "npm"
31-
cache-dependency-path: "frontend/package-lock.json"
25+
node-version: "22.x"
3226
- run: npm run build
3327
working-directory: frontend
3428
- name: Setup Pages

0 commit comments

Comments
 (0)