Files
tracebasedlogsampler/.gitea/workflows/cd.yaml
Timo Behrendt 65fc51e875
All checks were successful
CI / test (push) Successful in 21s
refactor: cd to re-use ci
2025-05-20 20:17:43 +02:00

31 lines
684 B
YAML

name: CI & Release
on:
push:
branches:
- main
jobs:
ci:
uses: ./.github/workflows/ci.yaml
release:
needs: tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 22
- run: npm install -g standard-version
- run: |
git config --global user.name "Release Bot"
git config --global user.email "release-bot@t00n.de"
- run: |
standard-version --no-verify --skip-changelog
git push --follow-tags origin main
env:
GITHUB_TOKEN: ${{ secrets.GITEA_TOKEN }}