mirror of
https://github.com/lingble/twenty.git
synced 2025-10-29 20:02:29 +00:00
27
.github/workflows/ci-tinybird.yaml
vendored
27
.github/workflows/ci-tinybird.yaml
vendored
@@ -5,7 +5,6 @@ on:
|
|||||||
- main
|
- main
|
||||||
|
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
@@ -13,9 +12,23 @@ concurrency:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ci:
|
ci:
|
||||||
uses: tinybirdco/ci/.github/workflows/ci.yml@main
|
runs-on: ubuntu-latest
|
||||||
with:
|
steps:
|
||||||
data_project_dir: packages/twenty-tinybird
|
- name: Check for changed files
|
||||||
secrets:
|
id: changed-files
|
||||||
tb_admin_token: ${{ secrets.TB_ADMIN_TOKEN }}
|
uses: tj-actions/changed-files@v11
|
||||||
tb_host: https://api.eu-central-1.aws.tinybird.co
|
with:
|
||||||
|
files: |
|
||||||
|
package.json
|
||||||
|
packages/twenty-tinybird/**
|
||||||
|
|
||||||
|
- name: Skip if no relevant changes
|
||||||
|
if: steps.changed-files.outputs.any_changed == 'false'
|
||||||
|
run: echo "No relevant changes. Skipping CI."
|
||||||
|
|
||||||
|
- name: Check twenty-tinybird package
|
||||||
|
uses: tinybirdco/ci/.github/workflows/ci.yml@main
|
||||||
|
with:
|
||||||
|
data_project_dir: packages/twenty-tinybird
|
||||||
|
tb_admin_token: ${{ secrets.TB_ADMIN_TOKEN }}
|
||||||
|
tb_host: https://api.eu-central-1.aws.tinybird.co
|
||||||
|
|||||||
Reference in New Issue
Block a user