Some checks failed
CD / Release (push) Failing after 6s
We are adding the release-git-tag action as well as some CICD steps. Reviewed-on: #3 Co-authored-by: Timo Behrendt <t.behrendt@t00n.de> Co-committed-by: Timo Behrendt <t.behrendt@t00n.de>
26 lines
561 B
YAML
26 lines
561 B
YAML
name: CD
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
release:
|
|
name: Release
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
with:
|
|
fetch-depth: 0
|
|
- run: npm ci
|
|
- name: Increment tag
|
|
id: tag
|
|
uses: https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment@0.1.2
|
|
with:
|
|
token: ${{ secrets.GITEA_TOKEN }}
|
|
- name: Push tag
|
|
run: |
|
|
git tag ${{ steps.tag.outputs.new-tag }}
|
|
git push origin ${{ steps.tag.outputs.new-tag }}
|