Skip to content

refactor: env vars #1692

refactor: env vars

refactor: env vars #1692

Workflow file for this run

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