๐Ÿ“ฆ mui / mui-public

๐Ÿ“„ render.yaml ยท 64 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64previews:
  generation: automatic
  expireAfterDays: 6

services:
  - type: web
    name: mui-tools-public
    runtime: node
    rootDir: apps/tools-public
    buildCommand: |
      # Required per https://github.com/pnpm/pnpm/issues/9029#issuecomment-2629866277
      npm install -g corepack@latest

      corepack enable
      pnpm --version
      pnpm install --frozen-lockfile
      pnpm build
    startCommand: pnpm start
    plan: starter
    region: virginia
    previews:
      plan: starter
    domains:
      - tools-public.mui.com
    healthCheckPath: /health-check
    buildFilter:
      paths:
        - pnpm-lock.yaml
    envVars:
      - key: NODE_VERSION
        value: 22
      - key: NODE_OPTIONS
        value: --enable-source-maps
      - fromGroup: MUI Store database
      - fromGroup: GitHub public
      - fromGroup: GitHub mui-bot2 public_repo
      - fromGroup: HiBob
      - fromGroup: Zendesk
      - fromGroup: Google Sheet service account

  - type: web
    name: code-infra-dashboard
    runtime: node
    rootDir: apps/code-infra-dashboard
    buildCommand: |
      # Required per https://github.com/pnpm/pnpm/issues/9029#issuecomment-2629866277
      npm install -g corepack@latest

      corepack enable
      pnpm --version
      pnpm install --frozen-lockfile
      pnpm build
    startCommand: pnpm start
    plan: starter
    region: virginia
    previews:
      plan: starter
    domains:
      - frontend-public.mui.com
    envVars:
      - key: NODE_VERSION
        value: 22
      - fromGroup: MUI X License