Revert to node16

This commit is contained in:
Qiao Han
2022-08-04 00:22:14 +08:00
parent 39cbf44fc1
commit 2b65cf0aa3
4 changed files with 14 additions and 12 deletions

View File

@@ -23,11 +23,13 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3.4.1
- name: Set Node.js 16.x
uses: actions/setup-node@v3.4.1
with:
node-version: 18.x
node-version: 16.x
- run: npm ci
- name: Install dependencies
run: npm ci
- name: Rebuild the dist/ directory
run: |

View File

@@ -7,5 +7,5 @@ inputs:
required: false
default: 0.32.1
runs:
using: node18
using: node16
main: dist/index.js

14
package-lock.json generated
View File

@@ -13,7 +13,7 @@
"@actions/tool-cache": "^2.0.1"
},
"devDependencies": {
"@types/node": "^18.6.3",
"@types/node": "^16.11.47",
"@typescript-eslint/parser": "^5.32.0",
"@vercel/ncc": "^0.34.0",
"eslint": "^8.0.1",
@@ -1551,9 +1551,9 @@
"dev": true
},
"node_modules/@types/node": {
"version": "18.6.3",
"resolved": "https://registry.npmjs.org/@types/node/-/node-18.6.3.tgz",
"integrity": "sha512-6qKpDtoaYLM+5+AFChLhHermMQxc3TOEFIDzrZLPRGHPrLEwqFkkT5Kx3ju05g6X7uDPazz3jHbKPX0KzCjntg==",
"version": "16.11.47",
"resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.47.tgz",
"integrity": "sha512-fpP+jk2zJ4VW66+wAMFoBJlx1bxmBKx4DUFf68UHgdGCOuyUTDlLWqsaNPJh7xhNDykyJ9eIzAygilP/4WoN8g==",
"dev": true
},
"node_modules/@types/prettier": {
@@ -7819,9 +7819,9 @@
"dev": true
},
"@types/node": {
"version": "18.6.3",
"resolved": "https://registry.npmjs.org/@types/node/-/node-18.6.3.tgz",
"integrity": "sha512-6qKpDtoaYLM+5+AFChLhHermMQxc3TOEFIDzrZLPRGHPrLEwqFkkT5Kx3ju05g6X7uDPazz3jHbKPX0KzCjntg==",
"version": "16.11.47",
"resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.47.tgz",
"integrity": "sha512-fpP+jk2zJ4VW66+wAMFoBJlx1bxmBKx4DUFf68UHgdGCOuyUTDlLWqsaNPJh7xhNDykyJ9eIzAygilP/4WoN8g==",
"dev": true
},
"@types/prettier": {

View File

@@ -29,7 +29,7 @@
"@actions/tool-cache": "^2.0.1"
},
"devDependencies": {
"@types/node": "^18.6.3",
"@types/node": "^16.11.47",
"@typescript-eslint/parser": "^5.32.0",
"@vercel/ncc": "^0.34.0",
"eslint": "^8.0.1",