28 lines
766 B
YAML
28 lines
766 B
YAML
name: Fix v17.6.7 version test
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- feature/v17.6.7-classic-offer-pdf
|
|
paths:
|
|
- .github/workflows/fix-v1767-version-test.yml
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
jobs:
|
|
fix:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Update expected version
|
|
run: |
|
|
sed -i "s/expect(result.version).toBe('17.6.6');/expect(result.version).toBe('17.6.7');/" tests/app.spec.mjs
|
|
- name: Commit
|
|
run: |
|
|
git config user.name "github-actions[bot]"
|
|
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
|
git add tests/app.spec.mjs
|
|
git commit -m "Update E2E version expectation for v17.6.7" || exit 0
|
|
git push
|