Kaynağa Gözat

chore(node): Increment node ver to 20 (#13445)

* chore(node) Update to node 20.x

* fix

* remove accidental file
factor2
Horatiu Muresan 1 yıl önce
ebeveyn
işleme
7c22bcf827
No account linked to committer's email address
5 değiştirilmiş dosya ile 11 ekleme ve 11 silme
  1. 1
    1
      .devcontainer/devcontainer.json
  2. 5
    5
      .github/workflows/ci.yml
  3. 1
    1
      .nvmrc
  4. 2
    2
      package-lock.json
  5. 2
    2
      package.json

+ 1
- 1
.devcontainer/devcontainer.json Dosyayı Görüntüle

@@ -3,7 +3,7 @@
3 3
   "image": "mcr.microsoft.com/devcontainers/universal:2",
4 4
   "features": {
5 5
     "ghcr.io/devcontainers/features/node:1": {
6
-      "version": "16"
6
+      "version": "20"
7 7
     }
8 8
   },
9 9
   "hostRequirements": {

+ 5
- 5
.github/workflows/ci.yml Dosyayı Görüntüle

@@ -10,7 +10,7 @@ jobs:
10 10
     - uses: actions/checkout@v4
11 11
     - uses: actions/setup-node@v4
12 12
       with:
13
-        node-version: 16
13
+        node-version: 20
14 14
         cache: 'npm'
15 15
     - name: Get changed files
16 16
       id: changed-files
@@ -37,7 +37,7 @@ jobs:
37 37
     - uses: actions/checkout@v4
38 38
     - uses: actions/setup-node@v4
39 39
       with:
40
-        node-version: 16
40
+        node-version: 20
41 41
         cache: 'npm'
42 42
     - run: npm install
43 43
     - run: make
@@ -48,7 +48,7 @@ jobs:
48 48
     - uses: actions/checkout@v4
49 49
     - uses: actions/setup-node@v4
50 50
       with:
51
-        node-version: 16
51
+        node-version: 20
52 52
         cache: 'npm'
53 53
     - run: npm install
54 54
     - run: make
@@ -59,7 +59,7 @@ jobs:
59 59
     - uses: actions/checkout@v4
60 60
     - uses: actions/setup-node@v4
61 61
       with:
62
-        node-version: 16
62
+        node-version: 20
63 63
         cache: 'npm'
64 64
     - run: npm install
65 65
     - run: npx react-native bundle --entry-file react/index.native.js --platform android --bundle-output /tmp/android.bundle --reset-cache
@@ -74,7 +74,7 @@ jobs:
74 74
     - uses: actions/checkout@v4
75 75
     - uses: actions/setup-node@v4
76 76
       with:
77
-        node-version: 16
77
+        node-version: 20
78 78
         cache: 'npm'
79 79
     - run: npm install
80 80
     - name: setup Xcode

+ 1
- 1
.nvmrc Dosyayı Görüntüle

@@ -1 +1 @@
1
-16
1
+20

+ 2
- 2
package-lock.json Dosyayı Görüntüle

@@ -178,8 +178,8 @@
178 178
         "webpack-dev-server": "4.7.3"
179 179
       },
180 180
       "engines": {
181
-        "node": ">=14.0.0",
182
-        "npm": ">=7.0.0"
181
+        "node": ">=20.0.0",
182
+        "npm": ">=10.0.0"
183 183
       }
184 184
     },
185 185
     "../lib-jitsi-meet": {

+ 2
- 2
package.json Dosyayı Görüntüle

@@ -187,8 +187,8 @@
187 187
     "@xmldom/xmldom": "0.8.7"
188 188
   },
189 189
   "engines": {
190
-    "node": ">=14.0.0",
191
-    "npm": ">=7.0.0"
190
+    "node": ">=20.0.0",
191
+    "npm": ">=10.0.0"
192 192
   },
193 193
   "license": "Apache-2.0",
194 194
   "scripts": {

Loading…
İptal
Kaydet