Skip to content

Commit

Permalink
chore: change the way to include @podman-desktop/tests-playwright (#760)
Browse files Browse the repository at this point in the history
Signed-off-by: Ondrej Dockal <[email protected]>
  • Loading branch information
odockal authored Aug 28, 2024
1 parent 023a0d5 commit 60a0d74
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/e2e-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/pr-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 60a0d74

Please sign in to comment.