File tree Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change @@ -399,6 +399,54 @@ jobs:
399
399
- name : Run tests
400
400
run : npm run valgrind -- --t 40000
401
401
402
+ test-tsc-compile :
403
+ runs-on : ubuntu-latest
404
+ needs : build-ubuntu
405
+ strategy :
406
+ matrix :
407
+ node-version : [
408
+ " 20" ,
409
+ ]
410
+ fail-fast : false
411
+
412
+ steps :
413
+ - uses : actions/checkout@v2
414
+ with :
415
+ submodules : recursive
416
+
417
+ - uses : actions/setup-node@v4
418
+ with :
419
+ node-version : ${{ matrix.node-version }}
420
+ architecture : ' x64'
421
+
422
+ - uses : actions/download-artifact@v4
423
+ with :
424
+ name : binding-${{ matrix.node-version }}
425
+
426
+ - name : make binding folder
427
+ run : mkdir lib/binding
428
+
429
+ - name : install mocha
430
+ run : npm install mocha
431
+
432
+ - name : install valgrind
433
+ run : |
434
+ sudo apt-get update;
435
+ sudo apt update;
436
+ sudo apt install valgrind;
437
+
438
+ - name : Install client
439
+ # fix the convention here
440
+ run : |
441
+ npx tsc;
442
+ npx tsc typings/index.d.ts;
443
+ cd ts-test;
444
+ npx tsc;
445
+
446
+ - name : Wait for database to be ready
447
+ # Should be ready after 3 seconds
448
+ run : sleep 3
449
+
402
450
# test-typescript:
403
451
# runs-on: ubuntu-latest
404
452
# needs: build-ubuntu
You can’t perform that action at this time.
0 commit comments