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
deps is great for running tasks before running my tasks but sometimes it is more ergonomic to run tasks after success too. similar to npm post* scripts.
For example I have
test:e2e:docker:run:internal:
internal: truedesc: Run E2E tests in Dockercmds:
- docker compose -f {{.DOCKER_COMPOSE}} up playwright {{.CLI_ARGS}}test:e2e:docker:
desc: Run E2E tests in Dockerdeps:
- task: test:e2e:docker:run:internalprompt: Do you want to open the HTML report?cmds:
- pnpm playwright show-report .next/playwright-report/html
It would be nicer if I could specify opening the report as an after task and also allowing to condition it to a flag like --no-open
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
deps
is great for running tasks before running my tasks but sometimes it is more ergonomic to run tasks after success too. similar to npm post* scripts.For example I have
It would be nicer if I could specify opening the report as an after task and also allowing to condition it to a flag like
--no-open
Beta Was this translation helpful? Give feedback.
All reactions