File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build and run immudb-node
2+
3+ on :
4+ push :
5+ branches :
6+ - ' **'
7+ pull_request :
8+ branches :
9+ - ' **'
10+
11+ jobs :
12+ build :
13+
14+ runs-on : ubuntu-latest
15+
16+ strategy :
17+ matrix :
18+ node-version : [16.x, 18.x]
19+
20+ steps :
21+ - uses : actions/checkout@v3
22+ - name : Use Node.js ${{ matrix.node-version }}
23+ uses : actions/setup-node@v3
24+ with :
25+ node-version : ${{ matrix.node-version }}
26+ - name : Build
27+ run : |
28+ npm ci
29+ npm run build
30+ - name : Run immudb
31+ run : |
32+ docker run -d --rm --health-cmd "immuadmin status" --health-interval 10s --health-timeout 5s --health-retries 5 -p 3322:3322 codenotary/immudb:latest
33+ - name : Run showcase
34+ run : |
35+ cd immudb-node-showcase
36+ npx ts-node --esm ./src/scanning.ts
You can’t perform that action at this time.
0 commit comments