From c0e947f6a6a44c2a4d10a9a62e27c852bf388b88 Mon Sep 17 00:00:00 2001 From: Parker Brown <17183625+parkerbxyz@users.noreply.github.com> Date: Thu, 8 Feb 2024 16:52:41 -0800 Subject: [PATCH 1/4] Update action.yml to use node20 --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 5861a6e..260159f 100644 --- a/action.yml +++ b/action.yml @@ -1,7 +1,7 @@ name: Create an issue description: Creates a new issue using a template with front matter. runs: - using: node16 + using: node20 main: dist/index.js branding: icon: alert-circle From d0732be86a720b3f6beaa033ff6824a21c8d96be Mon Sep 17 00:00:00 2001 From: Parker Brown <17183625+parkerbxyz@users.noreply.github.com> Date: Thu, 8 Feb 2024 16:52:50 -0800 Subject: [PATCH 2/4] Update ci.yml to use node20 --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f987a30..84425f8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,10 +12,10 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Use Node.js 18.x + - name: Use Node.js 20.x uses: actions/setup-node@v3 with: - node-version: 18.x + node-version: 20.x - run: npm ci - run: npm test - name: codecov From d2f7266772042d6aad30578a6a30bd235e42b348 Mon Sep 17 00:00:00 2001 From: Parker Brown <17183625+parkerbxyz@users.noreply.github.com> Date: Thu, 8 Feb 2024 16:59:01 -0800 Subject: [PATCH 3/4] Update TSConfig to use node-lts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `@tsconfig/node12` → `@tsconfig/node-lts` --- package-lock.json | 10 +++++----- package.json | 4 ++-- tsconfig.json | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index f60f99d..3dc1507 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,7 +16,7 @@ "zod": "^3.20.2" }, "devDependencies": { - "@tsconfig/node12": "^1.0.11", + "@tsconfig/node-lts": "^20.1.1", "@types/jest": "^29.1.2", "@types/nunjucks": "^3.2.1", "@vercel/ncc": "^0.34.0", @@ -1534,10 +1534,10 @@ "@sinonjs/commons": "^1.7.0" } }, - "node_modules/@tsconfig/node12": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.11.tgz", - "integrity": "sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==", + "node_modules/@tsconfig/node-lts": { + "version": "20.1.1", + "resolved": "https://registry.npmjs.org/@tsconfig/node-lts/-/node-lts-20.1.1.tgz", + "integrity": "sha512-V7wHydi1dv8I8xiOX3pJ0lhC+MlOakznvLks94J6y/TqQK6DBcbdD1G4jEq8yU+s6lBASPn4e1Ci636fDqeyvQ==", "dev": true }, "node_modules/@types/babel__core": { diff --git a/package.json b/package.json index a8f8bf4..11bb257 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "zod": "^3.20.2" }, "devDependencies": { - "@tsconfig/node12": "^1.0.11", + "@tsconfig/node-lts": "^20.1.1", "@types/jest": "^29.1.2", "@types/nunjucks": "^3.2.1", "@vercel/ncc": "^0.34.0", @@ -50,4 +50,4 @@ "/tests/**/*.test.(ts|js)" ] } -} \ No newline at end of file +} diff --git a/tsconfig.json b/tsconfig.json index 1743d2a..3560bf8 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@tsconfig/node12/tsconfig.json", + "extends": "@tsconfig/node-lts/tsconfig.json", "compilerOptions": { "esModuleInterop": true } From c92e5306fc8fa3855000f690503657b0f6789f99 Mon Sep 17 00:00:00 2001 From: Parker Brown <17183625+parkerbxyz@users.noreply.github.com> Date: Thu, 8 Feb 2024 17:48:32 -0800 Subject: [PATCH 4/4] =?UTF-8?q?`@tsconfig/node-lts`=20=E2=86=92=20`@tsconf?= =?UTF-8?q?ig/recommended`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit An upstream bug is preventing us from using @tsconfig/node-lts, so we'll use @tsconfig/recommended for now. --- package-lock.json | 10 +++++----- package.json | 2 +- tsconfig.json | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3dc1507..b503827 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,7 +16,7 @@ "zod": "^3.20.2" }, "devDependencies": { - "@tsconfig/node-lts": "^20.1.1", + "@tsconfig/recommended": "^1.0.3", "@types/jest": "^29.1.2", "@types/nunjucks": "^3.2.1", "@vercel/ncc": "^0.34.0", @@ -1534,10 +1534,10 @@ "@sinonjs/commons": "^1.7.0" } }, - "node_modules/@tsconfig/node-lts": { - "version": "20.1.1", - "resolved": "https://registry.npmjs.org/@tsconfig/node-lts/-/node-lts-20.1.1.tgz", - "integrity": "sha512-V7wHydi1dv8I8xiOX3pJ0lhC+MlOakznvLks94J6y/TqQK6DBcbdD1G4jEq8yU+s6lBASPn4e1Ci636fDqeyvQ==", + "node_modules/@tsconfig/recommended": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@tsconfig/recommended/-/recommended-1.0.3.tgz", + "integrity": "sha512-+jby/Guq9H8O7NWgCv6X8VAiQE8Dr/nccsCtL74xyHKhu2Knu5EAKmOZj3nLCnLm1KooUzKY+5DsnGVqhM8/wQ==", "dev": true }, "node_modules/@types/babel__core": { diff --git a/package.json b/package.json index 11bb257..291df19 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "zod": "^3.20.2" }, "devDependencies": { - "@tsconfig/node-lts": "^20.1.1", + "@tsconfig/recommended": "^1.0.3", "@types/jest": "^29.1.2", "@types/nunjucks": "^3.2.1", "@vercel/ncc": "^0.34.0", diff --git a/tsconfig.json b/tsconfig.json index 3560bf8..6b1f799 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@tsconfig/node-lts/tsconfig.json", + "extends": "@tsconfig/recommended/tsconfig.json", "compilerOptions": { "esModuleInterop": true }