caterium-app/.github/workflows/patch-v1767-classic-offer.yml
2026-09-08 07:21:55 +03:00

35 lines
1.0 KiB
YAML

name: Patch v17.6.7 classic client PDF
on:
push:
branches:
- feature/v17.6.7-classic-offer-pdf
paths:
- .github/workflows/patch-v1767-classic-offer.yml
permissions:
contents: write
jobs:
patch:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
- name: Apply patch
run: |
node .github/scripts/patch-v1767-classic-offer.mjs
node --check public/core/classic-offer-pdf-v1767.js
node --check public/app-runtime.js
node --check public/core/ux-fixes-v1764.js
node --check public/core/performance.js
- name: Commit
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add public package.json package-lock.json docs tests
git commit -m "Restore classic client proposal PDF templates" || exit 0
git push