Skip to content

feat: 🎸 place broken tool (#89) #69

feat: 🎸 place broken tool (#89)

feat: 🎸 place broken tool (#89) #69

Workflow file for this run

name: 🦋 Releases
on:
push:
branches:
- main
jobs:
lint:
uses: ./.github/workflows/lint.yml
secrets: inherit
typecheck:
uses: ./.github/workflows/typecheck.yml
secrets: inherit
test:
uses: ./.github/workflows/test.yml
secrets: inherit
changes:
runs-on: ubuntu-latest
permissions:
pull-requests: read
outputs:
backend: ${{ steps.filter.outputs.backend }}
frontend: ${{ steps.filter.outputs.frontend }}
steps:
- name: ⬇️ Checkout
uses: actions/checkout@v3
- uses: dorny/paths-filter@v2
id: filter
with:
filters: |
backend:
- 'apps/backend/**'
frontend:
- 'apps/frontend/**'
deploy-backend:
needs: [lint, typecheck, test, changes]
if: ${{ needs.changes.outputs.backend == 'true' }}
uses: ./.github/workflows/deployments.yml
with:
working-directory: apps/backend
secrets: inherit
deploy-frontend:
needs: [lint, typecheck, test, changes]
if: ${{ needs.changes.outputs.frontend == 'true' }}
uses: ./.github/workflows/deployments.yml
with:
working-directory: apps/frontend
secrets: inherit