Files
type-from-json/.gitea/workflows/ci.yml
7000pctAUTO 5a2bea0e19
Some checks failed
CI / build (push) Failing after 6s
Add Gitea Actions workflow: ci.yml
2026-01-31 12:35:29 +00:00

34 lines
520 B
YAML

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run ESLint
run: npm run lint || true
- name: Run tests
run: npm test
- name: TypeScript build
run: npm run build