Prechádzať zdrojové kódy

Update default runtime to node20 (#1436)

* .

* update workflows
Tatyana Kostromskaya 1 rok pred
rodič
commit
97a652b800
5 zmenil súbory, kde vykonal 526 pridanie a 792 odobranie
  1. 2 2
      .github/workflows/check-dist.yml
  2. 1 1
      .github/workflows/test.yml
  3. 1 1
      action.yml
  4. 521 787
      package-lock.json
  5. 1 1
      package.json

+ 2 - 2
.github/workflows/check-dist.yml

@@ -24,10 +24,10 @@ jobs:
     steps:
       - uses: actions/checkout@v3
 
-      - name: Set Node.js 16.x
+      - name: Set Node.js 20.x
         uses: actions/setup-node@v1
         with:
-          node-version: 16.x
+          node-version: 20.x
 
       - name: Install dependencies
         run: npm ci

+ 1 - 1
.github/workflows/test.yml

@@ -13,7 +13,7 @@ jobs:
     steps:
       - uses: actions/setup-node@v1
         with:
-          node-version: 16.x
+          node-version: 20.x
       - uses: actions/checkout@v3
       - run: npm ci
       - run: npm run build

+ 1 - 1
action.yml

@@ -87,6 +87,6 @@ inputs:
     description: The base URL for the GitHub instance that you are trying to clone from, will use environment defaults to fetch from the same instance that the workflow is running from unless specified. Example URLs are https://github.com or https://my-ghes-server.example.com
     required: false
 runs:
-  using: node16
+  using: node20
   main: dist/index.js
   post: dist/index.js

Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 521 - 787
package-lock.json


+ 1 - 1
package.json

@@ -37,7 +37,7 @@
   },
   "devDependencies": {
     "@types/jest": "^27.0.2",
-    "@types/node": "^12.7.12",
+    "@types/node": "^20.5.3",
     "@types/uuid": "^3.4.6",
     "@typescript-eslint/eslint-plugin": "^5.45.0",
     "@typescript-eslint/parser": "^5.45.0",

Niektoré súbory nie sú zobrazené, pretože je v týchto rozdielových dátach zmenené mnoho súborov