Skip to content

Merge pull request #4157 from signalco-io/next #6824

Merge pull request #4157 from signalco-io/next

Merge pull request #4157 from signalco-io/next #6824

# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: '[Web] CI'
on:
pull_request:
paths:
- 'web/**'
- 'cloud/**'
- 'infra/**'
- '.github/workflows/web-nextjs_bundle_analysis.yml'
- '.github/workflows/nextjs_bundle_analysis_reusable.yml'
- '.github/workflows/cloud-deploy-preview_reusable.yml'
push:
branches:
- main
- next
paths:
- 'web/**'
- 'cloud/**'
- 'infra/**'
- '.github/workflows/web-nextjs_bundle_analysis.yml'
- '.github/workflows/nextjs_bundle_analysis_reusable.yml'
- '.github/workflows/cloud-deploy-preview_reusable.yml'
workflow_dispatch:
jobs:
cloud_preview:
name: "Cloud (preview)"
uses: ./.github/workflows/cloud-deploy-preview_reusable.yml
if: success() && github.event_name == 'pull_request'
with:
project: "cloud-primary"
baseRef: ${{ github.base_ref }}
secrets: inherit
uier_infra_preview:
name: "uier infrastructure (preview)"
uses: ./.github/workflows/cloud-deploy-preview_reusable.yml
if: success() && github.event_name == 'pull_request'
with:
project: "uier"
baseRef: ${{ github.base_ref }}
secrets: inherit
analyze_blog:
name: "Blog"
uses: ./.github/workflows/nextjs_bundle_analysis_reusable.yml
with:
workflowName: 'web-nextjs_bundle_analysis.yml'
name: 'blog'
path: 'web/apps/blog'
vercelProjectId: 'prj_VT7qOjkcEvkAsZH7MtSxWcVDWVpr'
secrets: inherit
analyze_app:
name: "App"
uses: ./.github/workflows/nextjs_bundle_analysis_reusable.yml
with:
workflowName: 'web-nextjs_bundle_analysis.yml'
name: 'app'
path: 'web/apps/app'
vercelProjectId: 'prj_q8N5ElZfzvq4BjEMBIsyEfqe4jsI'
secrets: inherit
analyze_brandgrab:
name: "BrandGrab"
uses: ./.github/workflows/nextjs_bundle_analysis_reusable.yml
with:
workflowName: 'web-nextjs_bundle_analysis.yml'
name: 'brandgrab'
path: 'web/apps/brandgrab'
vercelProjectId: 'prj_QHQO9V4WwYqlcpXNufZ4SU3Ryftx'
secrets: inherit
analyze_web:
name: "Web"
uses: ./.github/workflows/nextjs_bundle_analysis_reusable.yml
with:
workflowName: 'web-nextjs_bundle_analysis.yml'
name: 'web'
path: 'web/apps/web'
vercelProjectId: 'prj_PYE8WwpynTfjD6rVMiCp7sZoCPYw'
secrets: inherit
analyze_slco:
name: "slco"
uses: ./.github/workflows/nextjs_bundle_analysis_reusable.yml
with:
workflowName: 'web-nextjs_bundle_analysis.yml'
name: 'slco'
path: 'web/apps/slco'
vercelProjectId: 'prj_GNETZANB7evyT5coH7gptur1G1sN'
secrets: inherit
analyze_doprocess:
name: "doprocess"
uses: ./.github/workflows/nextjs_bundle_analysis_reusable.yml
with:
workflowName: 'web-nextjs_bundle_analysis.yml'
name: 'doprocess'
path: 'web/apps/doprocess'
vercelProjectId: 'prj_UoJ8CHr3RAlOya6A9fpJ4oKzQhCJ'
secrets: inherit