-
Notifications
You must be signed in to change notification settings - Fork 49
50 lines (44 loc) · 1.34 KB
/
apps.yml
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
name: Applications
on:
workflow_dispatch:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
qa:
uses: ./.github/workflows/qa.yml
secrets: inherit
deploy-ui-storybook:
needs: [qa]
uses: ./.github/workflows/deploy.yml
with:
projectName: ${{ vars.UI_STORYBOOK_PROJECT_NAME }}
buildCommand: yarn turbo run build-storybook --filter=ui
outputDirectory: packages/ui/storybook-static
secrets: inherit
deploy-portal-storybook:
needs: [qa]
uses: ./.github/workflows/deploy.yml
with:
projectName: ${{ vars.PORTAL_STORYBOOK_PROJECT_NAME }}
buildCommand: >-
NODE_OPTIONS=--max_old_space_size=5120
yarn turbo run build-storybook --filter=portal
outputDirectory: apps/portal/storybook-static
secrets: inherit
deploy-portal:
needs: [qa]
uses: ./.github/workflows/deploy.yml
with:
projectName: ${{ vars.PORTAL_PROJECT_NAME }}
buildCommand: >-
NODE_OPTIONS=--max_old_space_size=10240
VITE_SENTRY_RELEASE=${{ github.sha }}
yarn turbo run build --filter=portal -- --sourcemap
outputDirectory: apps/portal/build
sentryReleaseVersion: ${{ github.sha }}
secrets: inherit