Skip to content

Commit

Permalink
Add flow for NodeJS with Typescript example
Browse files Browse the repository at this point in the history
  • Loading branch information
radetsky committed Nov 23, 2023
1 parent 473401d commit 4864b00
Showing 1 changed file with 22 additions and 5 deletions.
27 changes: 22 additions & 5 deletions .github/workflows/test-nodejs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,11 @@ jobs:
matrix:
node-version:
- 10.x # legacy
- 12.x # old LTS
- 14.x # current LTS
- 16.x # current stable
- 12.x
- 14.x
- 16.x
- 18.x
- 20.x # current LTS
fail-fast: false
steps:
- name: Install system dependencies
Expand Down Expand Up @@ -68,8 +70,10 @@ jobs:
matrix:
node-version:
- 12.x # old LTS
- 14.x # current LTS
- 16.x # current stable
- 14.x
- 16.x
- 18.x
- 20.x
fail-fast: false
steps:
- name: Install system dependencies
Expand Down Expand Up @@ -132,3 +136,16 @@ jobs:
node secure_comparator_client.js
kill -SIGTERM "$!"
echo "ok"
- name: Test examples (TypeScript Secure Cell)
if: always()
run: |
cd $GITHUB_WORKSPACE/docs/examples/ts
echo "Prepare to test"
npm init -y
npm install @types/node typescript
make jsthemis_install
./node_modules/.bin/tsc secure_cell.ts
echo "Test TypeScript Secure Cell..."
node secure_cell.js
echo "ok"

0 comments on commit 4864b00

Please sign in to comment.