Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update node-playwright image #90

Merged
merged 2 commits into from
May 15, 2024
Merged

Conversation

Taucher2003
Copy link
Member

@Taucher2003 Taucher2003 commented May 14, 2024

We did not specify a fixed playwright version
which caused pipeline errors due to missing
browser when the package-lock.json was recreated.

The browsers were missing in the docker image,
because the docker image contained older versions
of the browsers.

To prevent an accidental playwright update, the
version is now pinned to a specific version and
can be updated when updating the docker image to
ensure the browser versions in the docker image
and required browser versions by playwright stay
in sync.

This MR pins the playwright version and updates
the docker image to have matching browser versions.

@Taucher2003 Taucher2003 added the dependencies This updates dependency files label May 14, 2024
@Taucher2003 Taucher2003 self-assigned this May 14, 2024
Copy link
Contributor

github-actions bot commented May 14, 2024

GitLab Pipeline Action

General information

Link to pipeline: https://gitlab.com/code0-tech/development/pictor/-/pipelines/1292348516

Status: Passed
Duration: 5 minutes

Job summaries

docs:preview

Documentation preview available at https://code0-tech.gitlab.io/-/development/telescopium/-/jobs/6861587793/artifacts/dist/index.html

storybook:build

Storybook available at https://code0-tech.gitlab.io/-/development/pictor/-/jobs/6861571404/artifacts/storybook-static/index.html

nicosammito
nicosammito previously approved these changes May 14, 2024
Copy link
Contributor

@nicosammito nicosammito left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good for me, but in the future pls provided a more detailed description about what you are changing and why

We did not specify a fixed playwright version
which caused pipeline errors due to missing
browser when the package-lock.json was recreated.

The browsers were missing in the docker image,
because the docker image contained older versions
of the browsers.

To prevent an accidental playwright update, the
version is now pinned to a specific version and
can be updated when updating the docker image to
ensure the browser versions in the docker image
and required browser versions by playwright stay
in sync.
@Taucher2003 Taucher2003 merged commit c28f491 into main May 15, 2024
1 check passed
@Taucher2003 Taucher2003 deleted the update-node-playwright-image branch May 15, 2024 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies This updates dependency files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants