Skip to content

Commit b19c968

Browse files
committed
feat(ci) use Node 22
Set it on .nvmrc and use that everywhere
1 parent f67d97e commit b19c968

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ jobs:
1818
- uses: actions/checkout@v4
1919
- uses: actions/setup-node@v4
2020
with:
21-
node-version: '20'
21+
node-version-file: '.nvmrc'
22+
cache: 'npm'
2223
- name: Build it
2324
env:
2425
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -43,7 +44,8 @@ jobs:
4344
- uses: actions/checkout@v4
4445
- uses: actions/setup-node@v4
4546
with:
46-
node-version: '20'
47+
node-version-file: '.nvmrc'
48+
cache: 'npm'
4749
- name: Prepare for app signing and notarization
4850
env:
4951
MAC_CERT: ${{ secrets.mac_cert }}
@@ -75,7 +77,8 @@ jobs:
7577
- uses: actions/checkout@v4
7678
- uses: actions/setup-node@v4
7779
with:
78-
node-version: '20'
80+
node-version-file: '.nvmrc'
81+
cache: 'npm'
7982
- name: Build it
8083
env:
8184
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
16
1+
22

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"watch": "webpack --config ./webpack.renderer.js --mode development --watch --watch-options-poll=1000"
1717
},
1818
"engines": {
19-
"node": ">=14.0.0"
19+
"node": ">=22.0.0"
2020
},
2121
"build": {
2222
"appId": "org.jitsi.jitsi-meet",

0 commit comments

Comments
 (0)