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

This commit is contained in:
2026-01-31 12:38:58 +00:00
parent 53104e4f7d
commit ae81b4f083

View File

@@ -20,19 +20,13 @@ jobs:
node-version: '20'
- name: Install dependencies
run: |
npm install 2>&1 || echo "npm install failed"
run: npm install
- name: List files
run: ls -la
- name: Run ESLint
run: npx eslint . --ext .ts --max-warnings=10
- name: Check package.json
run: cat package.json
- name: Run tests
run: npm test
- name: Run build
run: |
if [ -f "dist/index.js" ]; then
echo "Build exists"
else
npx tsc 2>&1 || echo "Build failed"
fi
- name: TypeScript build
run: npx tsc