Skip to content

Commit 8489226

Browse files
committed
chore: simplify Node.js setup in CI workflow by removing matrix strategy
1 parent c6012c6 commit 8489226

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

‎.github/workflows/nodejs.yml‎

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,12 @@ jobs:
77

88
runs-on: ubuntu-latest
99

10-
strategy:
11-
matrix:
12-
node-version: [24.x]
13-
1410
steps:
1511
- uses: actions/checkout@v7
16-
- name: Use Node.js ${{ matrix.node-version }}
12+
- name: Use Node.js
1713
uses: actions/setup-node@v7
1814
with:
19-
node-version: ${{ matrix.node-version }}
15+
node-version-file: '.node-version'
2016
- name: Clean install dependencies
2117
run: |
2218
npm install

0 commit comments

Comments
 (0)