Skip to content

Commit 301f2d2

Browse files
authored
Create chdb-node-test.yml
1 parent cec342a commit 301f2d2

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/chdb-node-test.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: chDB-node
2+
3+
on:
4+
pull-request:
5+
paths-ignore:
6+
- '**/.md'
7+
push:
8+
branches: [ "main" ]
9+
paths-ignore:
10+
- '**/.md'
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v3
17+
- name: Fetch library
18+
run: |
19+
sudo wget https://github.com/metrico/libchdb/releases/latest/download/libchdb_amd64.zip
20+
sudo unzip libchdb_amd64.zip
21+
sudo mv libchdb.so /usr/lib/libchdb.so
22+
sudo ldconfig
23+
- uses: actions/setup-node@v3
24+
with:
25+
node-version: 16
26+
- run: npm install
27+
- run: npm test

0 commit comments

Comments
 (0)