From 4a9605c5537088c0f1a28b3759b198fa018bf4e1 Mon Sep 17 00:00:00 2001 From: pavlov346346-source Date: Wed, 9 Sep 2026 12:00:43 +0300 Subject: [PATCH] chore: fix v17.7.3 release assertions --- .github/workflows/v1773-fix-tests.yml | 39 +++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/v1773-fix-tests.yml diff --git a/.github/workflows/v1773-fix-tests.yml b/.github/workflows/v1773-fix-tests.yml new file mode 100644 index 0000000..aed9595 --- /dev/null +++ b/.github/workflows/v1773-fix-tests.yml @@ -0,0 +1,39 @@ +name: Caterium v17.7.3 fix tests +on: + push: + branches: [feat/v17-7-3-clients-server-read] + paths: + - .github/workflows/v1773-fix-tests.yml +permissions: + contents: write +jobs: + fix: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + ref: feat/v17-7-3-clients-server-read + - uses: actions/setup-node@v4 + with: + node-version: 22 + - name: Fix release assertions + run: | + node - <<'NODE' + const fs=require('fs'); + const p='tests/release-check.mjs'; + let s=fs.readFileSync(p,'utf8'); + s=s.replace("'17.7.0','17.7.1','17.7.3'","'17.7.0','17.7.1','17.7.2','17.7.3'"); + s=s.replace("v17.7.3 Clients Foundation","v17.7.3 Clients Server Read"); + fs.writeFileSync(p,s); + NODE + - run: npm install + - run: npm run check:deploy + - run: npx playwright install --with-deps chromium + - run: npm run test:e2e + - name: Commit fixes + run: | + git config user.name "github-actions[bot]" + git config user.email "41898282+github-actions[bot]@users.noreply.github.com" + git add tests/release-check.mjs + git commit -m "Fix v17.7.3 release assertions" || exit 0 + git push