chore: better setup error handling #87
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI and Deploy | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'apps/**' | |
- 'packages/**' | |
- '.github/workflows/**' | |
jobs: | |
lint: | |
uses: ./.github/workflows/lint.yml | |
with: | |
workflow_call: true | |
test: | |
uses: ./.github/workflows/test.yml | |
with: | |
workflow_call: true | |
deploy-apps: | |
# TODO: add back tests when redis service container becomes available again | |
needs: [lint] | |
strategy: | |
matrix: | |
app: [gateway, websockets, workers] | |
uses: ./.github/workflows/deploy-app.yml | |
with: | |
app-name: ${{ matrix.app }} | |
secrets: inherit | |
deploy-web: | |
# TODO: add back tests when redis service container becomes available again | |
needs: [lint] | |
uses: ./.github/workflows/deploy-web.yml | |
secrets: inherit |