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
When building standardized CI workflows, we set some standard commands that are typical to find in projects.
If the script doesn't exists, bun fails, which breaks those workflows if a project doesn't have that script/command.
What is the feature you are proposing to solve the problem?
We typically use pnpm run --if-present <command> on workflows today.
This will only run the command if the script is available in the package.
What alternatives have you considered?
We can probably build some script that skips steps in our workflow based on package.json.
Add all scripts defined in a workflow, e.g. exit 0
The text was updated successfully, but these errors were encountered:
What is the problem this feature would solve?
When building standardized CI workflows, we set some standard commands that are typical to find in projects.
If the script doesn't exists, bun fails, which breaks those workflows if a project doesn't have that script/command.
What is the feature you are proposing to solve the problem?
We typically use
pnpm run --if-present <command>
on workflows today.This will only run the command if the script is available in the package.
What alternatives have you considered?
exit 0
The text was updated successfully, but these errors were encountered: