Skip to content

Commit ba25914

Browse files
Merge pull request #657 from aerospike/stage
FF to stage
2 parents 4ad2dde + e8ba061 commit ba25914

File tree

3 files changed

+73
-13
lines changed

3 files changed

+73
-13
lines changed

.github/workflows/tests.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -412,6 +412,60 @@ jobs:
412412
npm run valgrind -- --t 40000
413413

414414

415+
test-tsc-compile:
416+
runs-on: ubuntu-latest
417+
needs: build-ubuntu
418+
strategy:
419+
matrix:
420+
node-version: [
421+
"20",
422+
]
423+
fail-fast: false
424+
425+
steps:
426+
- uses: actions/checkout@v2
427+
with:
428+
submodules: recursive
429+
430+
- uses: actions/setup-node@v4
431+
with:
432+
node-version: ${{ matrix.node-version }}
433+
architecture: 'x64'
434+
435+
- uses: actions/download-artifact@v4
436+
with:
437+
name: binding-${{ matrix.node-version }}
438+
439+
- name: make binding folder
440+
run: mkdir lib/binding
441+
442+
- name: install mocha
443+
run: npm install mocha
444+
445+
- name: install valgrind
446+
run: |
447+
sudo apt-get update;
448+
sudo apt update;
449+
sudo apt install valgrind;
450+
451+
- name: Install client
452+
#fix the convention here
453+
run: |
454+
cp -r node-v115-linux-x64 lib/binding/node-v115-linux-x64
455+
456+
- name: Install client
457+
#fix the convention here
458+
run: |
459+
npx tsc;
460+
npx tsc typings/index.d.ts;
461+
cd ts-test;
462+
npm install ..
463+
npx tsc;
464+
465+
- name: Wait for database to be ready
466+
# Should be ready after 3 seconds
467+
run: sleep 3
468+
415469
# test-typescript:
416470
# runs-on: ubuntu-latest
417471
# needs: build-ubuntu

package-lock.json

Lines changed: 18 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "aerospike",
3-
"version": "6.0.1",
3+
"version": "6.0.2",
44
"description": "Aerospike Client Library",
55
"keywords": [
66
"aerospike",

0 commit comments

Comments
 (0)