Skip to content

Commit

Permalink
bump build support for node
Browse files Browse the repository at this point in the history
  • Loading branch information
philihp committed Apr 19, 2023
1 parent 5da42a1 commit 5aec225
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "@tsconfig/node14/tsconfig.json",
"extends": "@tsconfig/node16/tsconfig.json",
"compilerOptions": {
"outDir": "./dist",
"declaration": true
Expand Down

0 comments on commit 5aec225

Please sign in to comment.