40 lines
1.3 KiB
YAML
40 lines
1.3 KiB
YAML
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
|