feat(api): add monitoring feature with track_events use case #526
This file contains hidden or 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: "Push to main branch" | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| linting-and-checks: | |
| name: "Linting and checks" | |
| uses: ./.github/workflows/linting-and-checks.yaml | |
| tests: | |
| name: "Tests" | |
| uses: ./.github/workflows/tests.yaml | |
| docs: | |
| needs: tests | |
| name: "Build and publish docs" | |
| uses: ./.github/workflows/publish-docs.yaml | |
| publish-latest: | |
| needs: tests | |
| name: "Publish dev docker images" | |
| uses: ./.github/workflows/publish-image.yaml | |
| with: | |
| image-tags: latest | |
| # uncomment to enable deployment of dev environment to radix | |
| # deploy-dev: | |
| # needs: publish-latest | |
| # uses: ./.github/workflows/deploy-to-radix.yaml | |
| # with: | |
| # image-tag: "latest" | |
| # radix-environment: "dev" | |
| release-please: | |
| needs: tests | |
| permissions: | |
| issues: write | |
| contents: write | |
| pull-requests: write | |
| secrets: inherit | |
| uses: ./.github/workflows/release-please.yaml | |
| publish-staging: | |
| needs: release-please | |
| if: ${{ needs.release-please.outputs.release_created == 'true' }} | |
| name: "Publish staging docker images" | |
| uses: ./.github/workflows/publish-image.yaml | |
| with: | |
| image-tags: ${{ needs.release-please.outputs.tag_name }} | |
| # uncomment to enable deployment of staging environment to radix | |
| # deploy-staging: | |
| # needs: [release-please, publish-staging] | |
| # uses: ./.github/workflows/deploy-to-radix.yaml | |
| # with: | |
| # image-tag: ${{ needs.release-please.outputs.tag_name }} | |
| # radix-environment: "staging" |