fix CI test glob so npm scripts find *.test.ts files.
Some checks failed
CI / Typecheck and test (push) Successful in 8s
Deploy / Typecheck and test (push) Successful in 8s
Deploy / Deploy to VPS (push) Failing after 2s

This commit is contained in:
alisaza 2026-09-13 14:49:42 +03:30
parent 7fe6837a89
commit 9615f6cb1e
3 changed files with 1 additions and 3 deletions

View File

@ -16,7 +16,6 @@ jobs:
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
with: with:
node-version: '20' node-version: '20'
cache: npm
- name: Install - name: Install
run: npm ci run: npm ci

View File

@ -19,7 +19,6 @@ jobs:
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
with: with:
node-version: '20' node-version: '20'
cache: npm
- run: npm ci - run: npm ci
- run: npm run typecheck - run: npm run typecheck

View File

@ -12,7 +12,7 @@
"build": "tsc -p tsconfig.json", "build": "tsc -p tsconfig.json",
"start": "node dist/index.js", "start": "node dist/index.js",
"typecheck": "tsc -p tsconfig.json --noEmit", "typecheck": "tsc -p tsconfig.json --noEmit",
"test": "tsx --test src/**/*.test.ts" "test": "tsx --test src/*.test.ts"
}, },
"dependencies": { "dependencies": {
"@hono/node-server": "^1.14.4", "@hono/node-server": "^1.14.4",