diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0215879..ab25122 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,7 +14,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: 18.x + node-version: 22.x - name: Build Action run: cd action && npm i && npm run all - name: Check if there's a diff diff --git a/action/package-lock.json b/action/package-lock.json index ff465a6..fabd48a 100644 --- a/action/package-lock.json +++ b/action/package-lock.json @@ -11,7 +11,7 @@ "@vercel/ncc": "^0.36.1" }, "devDependencies": { - "@types/node": "^14.18.51", + "@types/node": "^22.0.0", "@typescript-eslint/parser": "^3.10.1", "typescript": "^3.9.10" } @@ -369,11 +369,14 @@ "dev": true }, "node_modules/@types/node": { - "version": "14.18.63", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.63.tgz", - "integrity": "sha512-fAtCfv4jJg+ExtXhvCkCqUKZ+4ok/JQk01qDKhL5BDDoS3AxKXhV5/MAVUZyQnSEd2GT92fkgZl0pz0Q0AzcIQ==", + "version": "22.16.4", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.16.4.tgz", + "integrity": "sha512-PYRhNtZdm2wH/NT2k/oAJ6/f2VD2N2Dag0lGlx2vWgMSJXGNmlce5MiTQzoWAiIJtso30mjnfQCOKVH+kAQC/g==", "dev": true, - "license": "MIT" + "license": "MIT", + "dependencies": { + "undici-types": "~6.21.0" + } }, "node_modules/@typescript-eslint/experimental-utils": { "version": "3.10.1", @@ -1653,6 +1656,13 @@ "node": ">=14.0" } }, + "node_modules/undici-types": { + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz", + "integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==", + "dev": true, + "license": "MIT" + }, "node_modules/universal-user-agent": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.1.tgz", diff --git a/action/package.json b/action/package.json index 0f2a8c5..c0e7f4f 100644 --- a/action/package.json +++ b/action/package.json @@ -13,7 +13,7 @@ "url": "git+https://github.com/GoogleCloudPlatform/functions-framework-conformance.git" }, "devDependencies": { - "@types/node": "^14.18.51", + "@types/node": "^22.0.0", "@typescript-eslint/parser": "^3.10.1", "typescript": "^3.9.10" },