Skip to content

Commit ab8e902

Browse files
committed
fix: optimize notes API performance and add test infrastructure
1 parent b287238 commit ab8e902

File tree

20 files changed

+3485
-232
lines changed

20 files changed

+3485
-232
lines changed

.github/workflows/ci.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,28 @@ jobs:
1010
test:
1111
runs-on: ubuntu-latest
1212

13+
services:
14+
postgres:
15+
image: postgres:15
16+
env:
17+
POSTGRES_USER: test
18+
POSTGRES_PASSWORD: test
19+
POSTGRES_DB: typelets_test
20+
options: >-
21+
--health-cmd pg_isready
22+
--health-interval 10s
23+
--health-timeout 5s
24+
--health-retries 5
25+
ports:
26+
- 5432:5432
27+
1328
strategy:
1429
matrix:
1530
node-version: [22.x]
1631

32+
env:
33+
TEST_DATABASE_URL: postgresql://test:test@localhost:5432/typelets_test
34+
1735
steps:
1836
- uses: actions/checkout@v4
1937

@@ -33,5 +51,8 @@ jobs:
3351
- name: Run linting
3452
run: pnpm run lint
3553

54+
- name: Run tests
55+
run: pnpm test
56+
3657
- name: Run build
3758
run: NODE_OPTIONS="--max-old-space-size=8192" pnpm run build

CHANGELOG.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
## [1.11.5](https://github.com/typelets/typelets-api/compare/v1.11.4...v1.11.5) (2025-10-18)
22

3-
43
### Bug Fixes
54

6-
* send logs as Sentry events using captureMessage/captureException ([422a23c](https://github.com/typelets/typelets-api/commit/422a23cb02b80084a79f7f81f9d60121ec76a5a7))
5+
- send logs as Sentry events using captureMessage/captureException ([422a23c](https://github.com/typelets/typelets-api/commit/422a23cb02b80084a79f7f81f9d60121ec76a5a7))
76

87
## [1.11.4](https://github.com/typelets/typelets-api/compare/v1.11.3...v1.11.4) (2025-10-18)
98

0 commit comments

Comments
 (0)