Skip to content

Commit a4abf7e

Browse files
authored
chore: enable node 24 in CI (#205)
1 parent afd2bd7 commit a4abf7e

File tree

6 files changed

+9
-10
lines changed

6 files changed

+9
-10
lines changed

.borp.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
files:
2+
- 'test/**/*.test.js'
3+
- 'test/**/*.test.mjs'

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ubuntu-latest
2020
strategy:
2121
matrix:
22-
node-version: [20, 22]
22+
node-version: [20, 22, 24]
2323
steps:
2424
- uses: actions/checkout@v4
2525
with:

.taprc

Lines changed: 0 additions & 5 deletions
This file was deleted.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"prepare": "husky",
2020
"clean": "rm -f orama_test* && rm -f *.msp",
2121
"preunit": "npm run clean",
22-
"unit": "c8 node --test --test-reporter spec",
22+
"unit": "c8 borp -T --reporter spec",
2323
"postunit": "npm run clean"
2424
},
2525
"repository": {
@@ -45,6 +45,7 @@
4545
},
4646
"devDependencies": {
4747
"@types/node": "^24.0.3",
48+
"borp": "^0.20.0",
4849
"c8": "^10.1.3",
4950
"fastify": "^5.4.0",
5051
"husky": "^9.1.7",

test/types/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import Fastify from 'fastify'
1+
import Fastify from 'fastify';
22

3-
import { PersistenceInMemory, fastifyOrama } from '../..'
3+
import { PersistenceInMemory, fastifyOrama } from '../../index.js';
44

55
(async function () {
66
const app = Fastify()

test/types/index.tst.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { InternalTypedDocument, Orama, PartialSchemaDeep, Results, Schema, Searc
44
import Fastify from 'fastify'
55
import fp from 'fastify-plugin'
66

7-
import { PersistenceInFile, PersistenceInMemory, fastifyOrama } from '../..'
7+
import { PersistenceInFile, PersistenceInMemory, fastifyOrama } from '../../index.js'
88

99
const app = Fastify()
1010

0 commit comments

Comments
 (0)