Skip to content

Commit 1497a94

Browse files
CI/CD Improvements
1 parent f63b1ae commit 1497a94

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

.github/workflows/tests.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,54 @@ jobs:
399399
- name: Run tests
400400
run: npm run valgrind -- --t 40000
401401

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+
402450
# test-typescript:
403451
# runs-on: ubuntu-latest
404452
# needs: build-ubuntu

0 commit comments

Comments
 (0)