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

chore: Fix CI builds #890

Merged
merged 1 commit into from Oct 18, 2022
Merged

chore: Fix CI builds #890

merged 1 commit into from Oct 18, 2022

Conversation

MonkeyDo
Copy link
Contributor

@MonkeyDo MonkeyDo commented Oct 18, 2022

I've been hitting some weird issue with the build workflow failing at postinstall step.
This is apparently due to the docker user's HOME path being set to /root instead of the home for the user node.
The NPM postinstall step was being run, which somehow was breaking with error code 243, apparently related to permission issues with the cache directory.
See npm/cli#4769

Removing the postinstall step (which is not required and left over from way back when) solves the issue, but some investigation still needs to be done to figure out why the user's home is not set right in the docker image (or if we are using the wrong user somehow).

Fixing some issues with the build workflow failing at postinstall step.
Set correct engine version and don't run postinstall step
@MonkeyDo MonkeyDo merged commit eb55150 into master Oct 18, 2022
@MonkeyDo MonkeyDo deleted the fix-build-workflow branch October 18, 2022 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant