Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: deploy to 'alpha' only if the unit test workflow succeeds
Right now, the "unit test" workflow and the "deploy to alpha" workflow run in parallel. This means that the code will get deployed to alpha, even if it doesn't pass the tests, which is kinda dangerous (on the other hand, it's alpha so we might not care). This change links the two workflows together, so that "deploy to alpha" only runs if the unit tests on master ran successfully. Feel free to take or close this if you don't care about this! Two additional notes: * The tests also run on the PR build, but that's pre-merge and it's not necessarily guaranteed that the tests will pass after the merge. * This has no impact on the "deploy to prod" workflow; it's still very well possible to deploy a `master` to production that doesn't pass tests. We need to write the workflows slightly differently if we also want to protect against that.
- Loading branch information