Skip to content

Commit

Permalink
Add sequential jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
wendelfabianchinsamy committed Oct 8, 2023
1 parent 167303d commit 4526a58
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ jobs:
- name: Run tests
run: npm test
deploy:
# the deploy job needs the
# test job to finish before
# it starts.
# needs: [test, foo, bar] to wait for multiple
needs: test
runs-on: ubuntu-latest
steps:
- name: Get code from repository
Expand Down

0 comments on commit 4526a58

Please sign in to comment.