Skip to content

[Toolkit][Shadcn] Align collapsible File Tree example with shadcn reference #2118

[Toolkit][Shadcn] Align collapsible File Tree example with shadcn reference

[Toolkit][Shadcn] Align collapsible File Tree example with shadcn reference #2118

name: Dist Files Unbuilt
on:
push:
branches-ignore:
- 'dependabot/**'
paths-ignore:
- 'apps/**'
- 'src/*/doc/**'
- 'src/**/*.md'
pull_request:
paths-ignore:
- 'apps/**'
- 'src/*/doc/**'
- 'src/**/*.md'
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@0c366fd6a839edf440554fa01a7085ccba70ac98
- run: npm i -g corepack && corepack enable
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f
with:
node-version-file: '.nvmrc'
cache: 'pnpm'
cache-dependency-path: |
pnpm-lock.yaml
**/package.json
- name: Install root JS dependencies
run: pnpm install --frozen-lockfile
- name: Build
run: pnpm run build
- name: Check if JS dist files are current
run: |
if ! git diff --quiet; then
echo "The Git workspace is unclean! Changes detected:"
git status --porcelain
git diff
exit 1
else
echo "The Git workspace is clean. No changes detected."
fi