Skip to content

chore(deps-dev): bump @types/node from 25.2.0 to 25.3.3 #36

chore(deps-dev): bump @types/node from 25.2.0 to 25.3.3

chore(deps-dev): bump @types/node from 25.2.0 to 25.3.3 #36

Workflow file for this run

name: Code Quality
on:
pull_request:
branches: [ main, develop ]
workflow_dispatch:
jobs:
quality-checks:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: '20.x'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Type check
run: npm run type-check
- name: Build
run: npm run build
- name: Check for TypeScript errors
run: |
echo "Checking for TypeScript compilation errors..."
npm run build 2>&1 | tee build.log
if grep -i "error TS" build.log; then
echo "TypeScript errors found!"
exit 1
fi
echo "No TypeScript errors found."
- name: Check package structure
run: |
echo "Verifying package structure..."
test -f package.json || exit 1
test -f tsconfig.json || exit 1
test -d src || exit 1
test -f src/objectstack.config.ts || exit 1
test -d src/objects || exit 1
test -d src/views || exit 1
echo "Package structure verified."
- name: Verify example can run
run: |
echo "Testing if example can execute..."
npm run example
echo "Example verified successfully."