Skip to content

Commit 5b4c552

Browse files
committed
use configured node version instead of hard-coding where possible
1 parent eaaa8bb commit 5b4c552

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ jobs:
3131

3232
steps:
3333
- uses: actions/checkout@v4
34-
- name: Use Node.js ${{ matrix.node-version }}
34+
- name: Install Node.js
3535
uses: actions/setup-node@v4
3636
with:
37-
node-version: ${{ matrix.node-version }}
37+
node-version-file: '.node-version'
3838
- run: |
3939
sudo apt-get install gnome-keyring \
4040
libsecret-1-dev \
@@ -132,10 +132,10 @@ jobs:
132132

133133
steps:
134134
- uses: actions/checkout@v4
135-
- name: Use Node.js 22
135+
- name: Install NodeJS
136136
uses: actions/setup-node@v4
137137
with:
138-
node-version: 22.x
138+
node-version-file: '.node-version'
139139
registry-url: 'https://registry.npmjs.org'
140140

141141
- run: sudo apt-get install libsecret-1-dev

0 commit comments

Comments
 (0)