initial
Some checks failed
CI / Dry-Run (pull_request) Failing after 14s
CI / Test (pull_request) Failing after 17s

This commit is contained in:
2025-10-03 13:50:59 +02:00
parent 651ea6648e
commit 8f77f6b1f5
7 changed files with 9065 additions and 0 deletions

24
.gitea/workflows/cd.yaml Normal file
View File

@@ -0,0 +1,24 @@
name: CD
on:
push:
branches:
- main
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Increment tag
id: increment-tag
uses: https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment@0.1.1
with:
token: ${{ secrets.GITEA_TOKEN }}
- name: Push tag
run: |
git tag ${{ steps.increment-tag.outputs.new-tag }}
git push origin ${{ steps.increment-tag.outputs.new-tag }}

36
.gitea/workflows/ci.yaml Normal file
View File

@@ -0,0 +1,36 @@
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