diff --git a/.github/workflows/e2e-main.yaml b/.github/workflows/e2e-main.yaml index 4043975e..3caa0f71 100644 --- a/.github/workflows/e2e-main.yaml +++ b/.github/workflows/e2e-main.yaml @@ -111,7 +111,11 @@ jobs: - name: Ensure getting current HEAD version of the test framework working-directory: ./podman-desktop-extension-bootc/tests/playwright - run: yarn add -D @podman-desktop/tests-playwright@next + run: | + # workaround for https://github.com/containers/podman-desktop-extension-bootc/issues/712 + version=$(npm view @podman-desktop/tests-playwright@next version) + echo "Version of @podman-desktop/tests-playwright to be used: $version" + jq --arg version "$version" '.devDependencies."@podman-desktop/tests-playwright" = $version' package.json > package.json_tmp && mv package.json_tmp package.json - name: Execute yarn in Bootc Extension working-directory: ./podman-desktop-extension-bootc diff --git a/.github/workflows/pr-check.yaml b/.github/workflows/pr-check.yaml index 957e3a39..c059dd69 100644 --- a/.github/workflows/pr-check.yaml +++ b/.github/workflows/pr-check.yaml @@ -149,7 +149,11 @@ jobs: - name: Ensure getting current HEAD version of the test framework working-directory: ./podman-desktop-extension-bootc/tests/playwright - run: yarn add -D @podman-desktop/tests-playwright@next + run: | + # workaround for https://github.com/containers/podman-desktop-extension-bootc/issues/712 + version=$(npm view @podman-desktop/tests-playwright@next version) + echo "Version of @podman-desktop/tests-playwright to be used: $version" + jq --arg version "$version" '.devDependencies."@podman-desktop/tests-playwright" = $version' package.json > package.json_tmp && mv package.json_tmp package.json - name: Execute yarn in Bootc Extension working-directory: ./podman-desktop-extension-bootc