Skip to content

docs(TabbarItem): add url and linkType props #2228

docs(TabbarItem): add url and linkType props

docs(TabbarItem): add url and linkType props #2228

Workflow file for this run

name: check-db
on:
push:
branches: [main]
pull_request:
branches: [main]
types: [opened, synchronize, reopened]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
check-db:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version-file: .node-version
cache: "pnpm"
- name: Install Dependencies
run: pnpm ci
- name: Start Service
run: pnpm run dev &
- name: Update api.json
run: pnpm run api:download
- name: Check Diff
run: |
IS_DIFF=$(if git status | grep -q "packages/scripts/api.json"; then echo "true"; else echo "false"; fi)
echo "IS_DIFF: $IS_DIFF"
if [[ $IS_DIFF == 'true' ]]; then
git diff packages/scripts/api.json
echo "TDesign.db and api.json data inconsistency. Workflow will fail."
exit 1
fi