Files
type-from-json/.gitea/workflows/ci.yml
7000pctAUTO ae81b4f083
Some checks failed
CI / build (push) Failing after 52s
Add Gitea Actions workflow: ci.yml
2026-01-31 12:38:58 +00:00

33 lines
518 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'
- name: Install dependencies
run: npm install
- name: Run ESLint
run: npx eslint . --ext .ts --max-warnings=10
- name: Run tests
run: npm test
- name: TypeScript build
run: npx tsc