You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The prettier check action we use, creyD/prettier_action, keeps randomly failing:
Run creyD/[email protected]
Run PATH=$(cd $GITHUB_ACTION_PATH; npm bin):$PATH /home/runner/work/_actions/creyD/prettier_action/v4.2/entrypoint.sh
Installing prettier...
Prettifying files...
Files:
/home/runner/work/_actions/creyD/prettier_action/v4.2/entrypoint.sh: line 74: prettier: command not found
Problem running prettier with --check .
Error: Process completed with exit code 1.
Let's replace it with a call to prettier --check adding a script to package.json.
The text was updated successfully, but these errors were encountered:
This seems to have started happening recently. There is a bug report on the prettier actions repo. The advantage of using this is its way faster than installing prettier ourselves, and running prettier --check
There seems to be a fix in progress? It seems like the ubuntu image bumped up their npm version, which changed some npm paths. Lets see where this leads.
Remember the discussion about why I want to pin image/dependency versions? It's because of bugs like this, where a version of npm gets bumped, and causes a chain reaction of failures in other parts of the app.
The prettier check action we use,
creyD/prettier_action
, keeps randomly failing:Let's replace it with a call to
prettier --check
adding a script topackage.json
.The text was updated successfully, but these errors were encountered: