Skip to content

Commit 08f4369

Browse files
committed
test: add feathers-kysely
1 parent adce141 commit 08f4369

File tree

11 files changed

+350
-22
lines changed

11 files changed

+350
-22
lines changed

.github/workflows/node.js.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,28 @@ name: Node.js CI
55

66
on: [push, pull_request]
77

8+
env:
9+
POSTGRES_USER: postgres
10+
POSTGRES_PASSWORD: password
11+
POSTGRES_DB: test
12+
813
jobs:
914
test:
1015
runs-on: ubuntu-latest
1116
strategy:
1217
matrix:
1318
node-version: [20.x, 22.x]
1419
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
20+
services:
21+
postgres:
22+
image: postgres:17
23+
env:
24+
POSTGRES_USER: ${{ env.POSTGRES_USER }}
25+
POSTGRES_PASSWORD: ${{ env.POSTGRES_PASSWORD }}
26+
POSTGRES_DB: ${{ env.POSTGRES_DB }}
27+
ports:
28+
- 5432:5432
29+
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
1530
steps:
1631
- uses: actions/checkout@v4
1732

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,3 +123,5 @@ docs/.vitepress/cache
123123

124124
.cache
125125
.temp
126+
127+
.env

package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@
5858
"@feathersjs/errors": "^5.0.34",
5959
"@feathersjs/feathers": "^5.0.34",
6060
"@feathersjs/transport-commons": "^5.0.34",
61-
"feathers-hooks-common": "^8.2.1",
6261
"@fratzinger/feathers-utils": "^7.0.1",
62+
"feathers-hooks-common": "^8.2.1",
6363
"lodash": "^4.17.21"
6464
},
6565
"devDependencies": {
@@ -75,12 +75,15 @@
7575
"@feathersjs/mongodb": "^5.0.34",
7676
"@feathersjs/socketio": "^5.0.34",
7777
"@feathersjs/socketio-client": "^5.0.34",
78+
"@fratzinger/feathers-kysely": "^0.0.2",
7879
"@seald-io/nedb": "^4.1.2",
7980
"@tsconfig/node22": "^22.0.2",
8081
"@types/lodash": "^4.17.20",
8182
"@types/node": "^24.3.1",
83+
"@types/pg": "^8.15.5",
8284
"@vitest/coverage-v8": "^3.2.4",
8385
"cors": "^2.8.5",
86+
"dotenv": "^17.2.2",
8487
"eslint": "^9.34.0",
8588
"feathers-fletching": "^2.0.7",
8689
"feathers-knex": "^8.0.1",
@@ -91,11 +94,13 @@
9194
"get-port": "^7.1.0",
9295
"helmet": "^8.1.0",
9396
"knex": "^3.1.0",
97+
"kysely": "^0.28.7",
9498
"mongodb": "^6.19.0",
9599
"mongodb-memory-server": "^10.2.0",
96100
"mongoose": "^8.18.0",
97101
"np": "^10.2.0",
98102
"objection": "^3.1.5",
103+
"pg": "^8.16.3",
99104
"prettier": "^3.6.2",
100105
"sequelize": "^6.37.7",
101106
"socket.io-client": "^4.8.1",

0 commit comments

Comments
 (0)