Bug fix for node gyp
error on GitHub Actions
#316
RobertGemmaJr
announced in
Announcements
Replies: 1 comment
-
Thanks! I was wondering why the pull request had stopped working. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The Issue
The latest version(s) of GitHub's runners have been updated to a newer version of Python that is incompatible with Honeycomb's internal dependencies. The change should not effect any local development environments but DOES break the various actions used to build and package the application on GitHub. The action workflows need to be updated to resolve this bug.
The Fix
We must instruct GitHub to use Python version 3.10 in the workflows. This is done with the following code:
Final Solution
The above action must be added to any workflow in which we call
npm ci
ornpm install
build.yml
in older versions of Honeycomb)package.yml
in older versions of Honeycomb)release-home-video.yaml
workflowThe step should be inserted after the
setup-node
step and before theInstall Dependencies
step:New Output
Your workflow runs will now look like this:
Beta Was this translation helpful? Give feedback.
All reactions