瀏覽代碼

Update default runtime to node20 (#1436)

* .

* update workflows
Tatyana Kostromskaya 1 年之前
父節點
當前提交
97a652b800
共有 5 個文件被更改,包括 526 次插入792 次删除
  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

File diff suppressed because it is too large
+ 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",

Some files were not shown because too many files changed in this diff