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 npx commands execution #14

Open
elvism-lullabot opened this issue Jul 24, 2024 · 0 comments
Open

Update npx commands execution #14

elvism-lullabot opened this issue Jul 24, 2024 · 0 comments
Assignees

Comments

@elvism-lullabot
Copy link
Collaborator

On

&& ([ -f yarn.lock ] && export JS_PKG_MANAGER=yarn || export JS_PKG_MANAGER=npx \
&& sudo -u $username $JS_PKG_MANAGER \
&& sudo -u $username $JS_PKG_MANAGER playwright install-deps \
&& sudo -u $username $JS_PKG_MANAGER playwright install \
) \
we are conditionally executing npx commands depending on the JS_PKG_MANAGER user has which leads to errors if it project is not using yarn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant