Skip to content

[Feature] Add restriction to dbt 1.6 metric support #481

[Feature] Add restriction to dbt 1.6 metric support

[Feature] Add restriction to dbt 1.6 metric support #481

name: Node.js - Build & Auto-Commit to CLI data/report/**
on:
pull_request:
types:
- closed
# Trigger when PR is closed
paths:
- "static_report/**"
- "piperider_cli/**"
# Trigger when diffs detected in cli and report sources
branches:
- main
# Only PR target is `main`
jobs:
if_merged_build:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./static_report
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: 16
- uses: pnpm/[email protected]
with:
version: 7
- name: Install dependencies
working-directory: ./static_report
run: pnpm install --frozen-lockfile
- name: Build Apps
run: pnpm run build
- name: Pull Remote Changes (before AC)
run: git pull origin main
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: AUTO-COMMIT - build report statics to CLI data/report
branch: ${{ github.base_ref }}
# Auto-commits to target merge branch