Add Node.js 20 to CI (#181)

This commit is contained in:
Bjorn Stromberg 2023-08-16 18:09:57 +08:00 committed by GitHub
parent 877ed1cc6a
commit 9d6c91ee58
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 5 deletions

View file

@ -10,6 +10,7 @@ jobs:
fail-fast: false
matrix:
node-version:
- 20
- 18
- 16
steps:

View file

@ -18,7 +18,7 @@
},
"scripts": {
"build": "del dist && tsc",
"test": "tsc --noEmit && xo && ava",
"test": "tsc --noEmit && xo && NODE_OPTIONS='--loader=ts-node/esm --no-warnings=ExperimentalWarning' ava",
"prepare": "npm run build"
},
"files": [
@ -68,9 +68,6 @@
"ava": {
"extensions": {
"ts": "module"
},
"nodeArguments": [
"--loader=ts-node/esm"
]
}
}
}