소스 검색

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

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 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",

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.