chore: fix v17.7.3 release assertions

This commit is contained in:
pavlov346346-source 2026-09-09 12:00:43 +03:00
parent e20519ee2f
commit 4a9605c553

39
.github/workflows/v1773-fix-tests.yml vendored Normal file
View File

@ -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