Add Gitea Actions workflow: ci.yml
Some checks failed
CI / build (push) Failing after 5s

This commit is contained in:
2026-01-31 12:36:37 +00:00
parent aafd96a669
commit 3dacfec261

View File

@@ -23,16 +23,11 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Show package.json scripts
run: cat package.json
- name: Run ESLint
run: |
echo "Running ESLint..."
npx eslint . --ext .ts || echo "ESLint completed with errors"
- name: Run tests
run: npm test
run: npm test --if-present || echo "No test script"
- name: TypeScript build
run: npx tsc --noEmit
- name: Check TypeScript compilation
run: |
if [ -f "tsconfig.json" ]; then
npx tsc --noEmit || echo "TypeScript check failed"
fi