From 5aec225b90d23d0c12bbe98549580b17831842f2 Mon Sep 17 00:00:00 2001 From: Philihp Busby Date: Wed, 19 Apr 2023 02:10:55 +0000 Subject: [PATCH] bump build support for node --- .github/workflows/tests.yml | 10 ++++++---- package.json | 2 +- tsconfig.json | 2 +- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ba03cb8..fd99340 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -13,7 +13,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 18.x + node-version: 20.x - run: npm install - run: npm run lint @@ -22,12 +22,14 @@ jobs: strategy: matrix: node-version: - # when advancing support, remember to bump @tsconfig/node14 - - 14.x # maintainence ends 2023-04-30 + # when advancing support, remember to bump @tsconfig/node16 + - 14.x # deprecated - 15.x # deprecated - 16.x # maintainence ends 2024-04-30 - 17.x # deprecated - 18.x # maintainence ends 2025-04-30 + - 19.x # maintainence ends 2023-06-01 + - 20.x # maintainence ends 2026-04-30 steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 @@ -43,7 +45,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 18.x + node-version: 20.x - run: npm install - run: npm run build --if-present - run: npm run test:coverage diff --git a/package.json b/package.json index e570120..988cca2 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "@babel/preset-typescript": "7.21.4", "@babel/register": "7.21.0", "@philihp/eslint-config": "6.0.2", - "@tsconfig/node14": "1.0.3", + "@tsconfig/node16": "1.0.3", "@types/jest": "29.5.0", "@typescript-eslint/eslint-plugin": "5.58.0", "@typescript-eslint/parser": "5.58.0", diff --git a/tsconfig.json b/tsconfig.json index cfaef9b..e6fc151 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@tsconfig/node14/tsconfig.json", + "extends": "@tsconfig/node16/tsconfig.json", "compilerOptions": { "outDir": "./dist", "declaration": true