Add one-time v17.6.7 version test fix
This commit is contained in:
parent
9cae0756ec
commit
9c3830ddaf
27
.github/workflows/fix-v1767-version-test.yml
vendored
Normal file
27
.github/workflows/fix-v1767-version-test.yml
vendored
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
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
|
||||||
Loading…
Reference in New Issue
Block a user