Parcourir la source

Update default runtime to node20 (#1436)

* .

* update workflows
Tatyana Kostromskaya il y a 1 an
Parent
commit
97a652b800
5 fichiers modifiés avec 526 ajouts et 792 suppressions
  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

Fichier diff supprimé car celui-ci est trop grand
+ 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",

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff