Files
paypoint-frontend/.github/workflows/increase-version.yml
veenm 8e0b373980
Some checks failed
Increase Version / bump-version (push) Successful in 15s
Increase Version / build-and-run (push) Failing after 0s
Update .github/workflows/increase-version.yml
2025-03-12 12:36:38 +00:00

36 lines
964 B
YAML

name: Increase Version
on:
push:
branches:
- main # Start bij commits op de main branch
jobs:
bump-version:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Configure Git
run: |
git config --global user.name "Gitea Actions"
git config --global user.email "actions@gitea.local"
- name: Bump version
run: |
npm version patch --no-git-tag-version
git add package.json package-lock.json
git commit -m "chore: bump version [skip ci]" || echo "No changes to commit"
# Pull the latest changes from the remote main branch before pushing
git pull origin main --rebase
# Push changes to remote main branch
git push origin main
build-and-run:
uses: veenm/paypoint/.github/workflows/deploy-docker.yml@main