Skip to content

Fix KPI hourly granularity with previous period #229

Fix KPI hourly granularity with previous period

Fix KPI hourly granularity with previous period #229

Workflow file for this run

name: Tinybird - CI Workflow
on:
workflow_dispatch:
pull_request:
branches:
- main
types: [opened, reopened, labeled, unlabeled, synchronize]
concurrency: ${{ github.workflow }}-${{ github.event.pull_request.number }}
env:
TINYBIRD_HOST: ${{ secrets.TINYBIRD_HOST }}
TINYBIRD_TOKEN: ${{ secrets.TINYBIRD_TOKEN }}
jobs:
ci:
runs-on: ubuntu-latest
defaults:
run:
working-directory: '.'
services:
tinybird:
image: tinybirdco/tinybird-local:latest
ports:
- 7181:7181
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- name: Use Node.js 22
uses: actions/setup-node@v4
with:
node-version: 22.x
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Build locally
run: pnpm run tinybird:build -- --local
- name: Preview in a branch
run: pnpm run tinybird:preview