-
-
Notifications
You must be signed in to change notification settings - Fork 69
45 lines (39 loc) · 1.06 KB
/
node-clickhouse.js.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# This workflow will validate qryn using nodejs + clickhouse
name: QRYN CI
on:
push:
branches: [ master, beta ]
paths-ignore:
- '**.md'
- '**.yml'
- '**.yaml'
pull_request:
branches: [ master, beta ]
paths-ignore:
- '**.md'
- '**.yml'
- '**.yaml'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18, 16.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- run: docker run --name clickhouse -p 9000:9000 -p 8123:8123 -d clickhouse/clickhouse-server:23.8-alpine
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm install
- run: npm run postinstall
- run: git submodule init
- run: git submodule update
- env:
CLICKHOUSE_DB: loki
CLICKHOUSE_TSDB: loki
INTEGRATION_E2E: 1
run: node qryn.js & npm run test --forceExit