diff --git a/.github/workflows/fix-v1767-version-test.yml b/.github/workflows/fix-v1767-version-test.yml new file mode 100644 index 0000000..9a431d6 --- /dev/null +++ b/.github/workflows/fix-v1767-version-test.yml @@ -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