Skip to content

Commit e26f850

Browse files
committed
bump LTS version of node in CI
1 parent 7ee07a3 commit e26f850

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: [push, pull_request]
44

55
env:
66
FORCE_COLOR: true
7-
NODE_VERSION: latest
7+
NODE_VERSION: 20
88

99
jobs:
1010
setup:
@@ -42,7 +42,7 @@ jobs:
4242

4343
strategy:
4444
matrix:
45-
node_version: [16, 18]
45+
node_version: [18, 20]
4646

4747
steps:
4848
- uses: actions/checkout@v3

package.json

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"url": "https://github.com/wopian/kitsu/issues"
99
},
1010
"engines": {
11-
"node": ">= 16"
11+
"node": ">= 18"
1212
},
1313
"workspaces": [
1414
"packages/*"
@@ -17,19 +17,15 @@
1717
"build": "yarn workspaces foreach -pt run build",
1818
"lint": "eslint . --ext .js,.cjs,.mjs,.ts,.cts,.mts --fix --ignore-path .gitignore",
1919
"lint:ci": "eslint . --ext .js,.cjs,.mjs,.ts,.cts,.mts --ignore-path .gitignore",
20-
"test": "ava",
21-
"coverage": "c8 ava",
20+
"test": "NODE_OPTIONS='--loader=tsx --no-warnings' ava",
21+
"coverage": "NODE_OPTIONS='--loader=tsx --no-warnings' c8 ava",
2222
"document": "typedoc src/index.ts --name preferred-locale --includeVersion --hideGenerator --searchInComments --plugin @mxssfd/typedoc-theme --theme my-theme --entryPointStrategy expand"
2323
},
2424
"ava": {
2525
"utilizeParallelBuilds": true,
2626
"extensions": {
2727
"ts": "module"
28-
},
29-
"nodeArguments": [
30-
"--loader",
31-
"tsx"
32-
]
28+
}
3329
},
3430
"c8": {
3531
"all": true,

0 commit comments

Comments
 (0)