Merge pull request #345 from metrico/fix_343 #876
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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: [14.x, 16.x] | |
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/ | |
steps: | |
- uses: EpicStep/[email protected] | |
- 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 |