Skip to content

Uses pre-built Node image to install prettier globally#42

Merged
bthomee merged 3 commits intomainfrom
bthomee/prettier
Aug 18, 2025
Merged

Uses pre-built Node image to install prettier globally#42
bthomee merged 3 commits intomainfrom
bthomee/prettier

Conversation

@bthomee
Copy link
Contributor

@bthomee bthomee commented Aug 16, 2025

GitHub CI invokes Docker images in rootless mode, which results in the PATH being different for the non-root user GitHub uses. I attempted a few other approaches, e.g. https://github.com/nvm-sh/nvm?tab=readme-ov-file#installing-in-docker-for-cicd-jobs, but even that failed. This PR focused on a different approach, by using the Node.JS Docker image directly, which solves the issue.

@bthomee bthomee requested a review from Bronek August 16, 2025 21:01
@bthomee bthomee merged commit 3c9984d into main Aug 18, 2025
28 checks passed
@bthomee bthomee deleted the bthomee/prettier branch August 18, 2025 14:31
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

Successfully merging this pull request may close these issues.

2 participants