Skip to content

Commit

Permalink
fix: ava ci (#23)
Browse files Browse the repository at this point in the history
* chore: update tsx

* chore: remove deprecated --loader flag from ava nodeArguments

* chore: remove ts module from ava extensions

* chore: workflow node versions to 18 and 20

* chore: update pnpm version in workflow
  • Loading branch information
rexfordessilfie committed Feb 14, 2024
1 parent 9b0f4b9 commit 43bc1dd
Show file tree
Hide file tree
Showing 3 changed files with 463 additions and 482 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/node.js.yml
Expand Up @@ -16,14 +16,14 @@ jobs:

strategy:
matrix:
node-version: [16.x, 18.x]
node-version: [18.x, 20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 7.25.1
version: 8.15.2
run_install: false
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
Expand Down
10 changes: 5 additions & 5 deletions package.json
Expand Up @@ -18,11 +18,11 @@
"typescript"
],
"ava": {
"extensions": {
"ts": "module"
},
"extensions": [
"ts"
],
"nodeArguments": [
"--loader=tsx"
"--import=tsx"
]
},
"author": "",
Expand All @@ -32,7 +32,7 @@
"ava": "^5.3.1",
"tsd": "^0.28.1",
"tsup": "^7.1.0",
"tsx": "^3.12.7",
"tsx": "^4.7.1",
"typescript": "^5.1.6"
}
}

0 comments on commit 43bc1dd

Please sign in to comment.