Skip to content

Commit

Permalink
Add Node.js 20 to CI (#181)
Browse files Browse the repository at this point in the history
  • Loading branch information
bjornstar authored Aug 16, 2023
1 parent 877ed1c commit 9d6c91e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
fail-fast: false
matrix:
node-version:
- 20
- 18
- 16
steps:
Expand Down
7 changes: 2 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down Expand Up @@ -68,9 +68,6 @@
"ava": {
"extensions": {
"ts": "module"
},
"nodeArguments": [
"--loader=ts-node/esm"
]
}
}
}

0 comments on commit 9d6c91e

Please sign in to comment.