diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ba853fb..0b32b42 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,7 +8,7 @@ jobs: strategy: matrix: - node-version: [10.x, 12.x, 14.x, 15.x] + node-version: [20.x] steps: - uses: actions/checkout@v2 diff --git a/README.md b/README.md index a2786fb..b275c85 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ jobs: ### Requirements: -* NodeJS 12+ +* NodeJS 20+ ### Setup diff --git a/action.yml b/action.yml index 6c6ac05..cf7275c 100644 --- a/action.yml +++ b/action.yml @@ -6,5 +6,5 @@ branding: color: 'blue' runs: - using: 'node12' + using: 'node20' main: 'dist/index.js' diff --git a/package-lock.json b/package-lock.json index 0789e31..0c0678f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "action-pr-title", - "version": "1.0.0", + "version": "2.0.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "action-pr-title", - "version": "1.0.0", + "version": "2.0.0", "license": "ISC", "dependencies": { "@actions/core": "^1.2.6", @@ -15,7 +15,7 @@ "devDependencies": { "@types/chai": "^4.2.15", "@types/mocha": "^8.2.2", - "@types/node": "^12", + "@types/node": "^20.8.7", "@typescript-eslint/eslint-plugin": "^4.18.0", "@typescript-eslint/parser": "^4.18.0", "@vercel/ncc": "^0.27.0", @@ -379,10 +379,13 @@ "dev": true }, "node_modules/@types/node": { - "version": "12.20.6", - "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.6.tgz", - "integrity": "sha512-sRVq8d+ApGslmkE9e3i+D3gFGk7aZHAT+G4cIpIEdLJYPsWiSPwcAnJEjddLQQDqV3Ra2jOclX/Sv6YrvGYiWA==", - "dev": true + "version": "20.8.7", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.8.7.tgz", + "integrity": "sha512-21TKHHh3eUHIi2MloeptJWALuCu5H7HQTdTrWIFReA8ad+aggoX+lRes3ex7/FtpC+sVUpFMQ+QTfYr74mruiQ==", + "dev": true, + "dependencies": { + "undici-types": "~5.25.1" + } }, "node_modules/@typescript-eslint/eslint-plugin": { "version": "4.18.0", @@ -3574,6 +3577,12 @@ "which-boxed-primitive": "^1.0.1" } }, + "node_modules/undici-types": { + "version": "5.25.3", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.25.3.tgz", + "integrity": "sha512-Ga1jfYwRn7+cP9v8auvEXN1rX3sWqlayd4HP7OKk4mZWylEmu3KzXDUGrQUN6Ol7qo1gPvB2e5gX6udnyEPgdA==", + "dev": true + }, "node_modules/universal-user-agent": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz", @@ -4158,10 +4167,13 @@ "dev": true }, "@types/node": { - "version": "12.20.6", - "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.6.tgz", - "integrity": "sha512-sRVq8d+ApGslmkE9e3i+D3gFGk7aZHAT+G4cIpIEdLJYPsWiSPwcAnJEjddLQQDqV3Ra2jOclX/Sv6YrvGYiWA==", - "dev": true + "version": "20.8.7", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.8.7.tgz", + "integrity": "sha512-21TKHHh3eUHIi2MloeptJWALuCu5H7HQTdTrWIFReA8ad+aggoX+lRes3ex7/FtpC+sVUpFMQ+QTfYr74mruiQ==", + "dev": true, + "requires": { + "undici-types": "~5.25.1" + } }, "@typescript-eslint/eslint-plugin": { "version": "4.18.0", @@ -6473,6 +6485,12 @@ "which-boxed-primitive": "^1.0.1" } }, + "undici-types": { + "version": "5.25.3", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.25.3.tgz", + "integrity": "sha512-Ga1jfYwRn7+cP9v8auvEXN1rX3sWqlayd4HP7OKk4mZWylEmu3KzXDUGrQUN6Ol7qo1gPvB2e5gX6udnyEPgdA==", + "dev": true + }, "universal-user-agent": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz", diff --git a/package.json b/package.json index 1ef7233..6fb712a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "action-pr-title", - "version": "1.0.0", + "version": "2.0.0", "description": "GitHub action to validate PR titles meet our guidelines", "main": "lib/index.js", "scripts": { @@ -21,7 +21,7 @@ "devDependencies": { "@types/chai": "^4.2.15", "@types/mocha": "^8.2.2", - "@types/node": "^12", + "@types/node": "^20.8.7", "@typescript-eslint/eslint-plugin": "^4.18.0", "@typescript-eslint/parser": "^4.18.0", "@vercel/ncc": "^0.27.0",