Files
validate-json-by-json-schem…/.gitea/workflows/ci.yaml
Timo Behrendt 8f77f6b1f5
Some checks failed
CI / Dry-Run (pull_request) Failing after 14s
CI / Test (pull_request) Failing after 17s
initial
2025-10-03 13:50:59 +02:00

37 lines
755 B
YAML

name: CI
on:
pull_request:
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/setup-node@v5
with:
node-version-file: .nvmrc
- run: npm ci
- name: Format code
run: npm run format
- name: Typecheck
run: npm run typecheck
- name: Run test
run: npm run test
dry-run:
name: Dry-Run
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- run: npm ci
- name: Validate JSON, using a valid file
uses: ./
with:
json-file: test/valid.json
- name: Validate JSON, using an invalid file
uses: ./
with:
json-file: test/invalid.json