Update OML mappings #30638
Workflow file for this run
This file contains 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: Build Frontend | |
on: | |
pull_request: | |
branches: | |
- master | |
- production | |
push: | |
branches: | |
- master | |
merge_group: | |
types: | |
- checks_requested | |
branches: | |
- master | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
pre_job: | |
name: Pre Job | |
runs-on: ubuntu-latest | |
outputs: | |
# Should not run for PRs (except deployment) | |
is_permitted: ${{ steps.build_vars.outputs.has_frontend_change == 'true' && (github.event_name != 'pull_request' || steps.build_vars.outputs.is_deployment_pr == 'true') }} | |
env_name: ${{ steps.build_vars.outputs.env_name }} | |
version: ${{ steps.build_vars.outputs.version }} | |
steps: | |
- name: "Check out changes" | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
- name: Build vars | |
id: build_vars | |
uses: ./.github/actions/build-vars | |
build_frontend_react: | |
name: Build Frontend React | |
needs: pre_job | |
if: needs.pre_job.outputs.is_permitted == 'true' | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: frontend-react | |
steps: | |
- name: "Check out changes" | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
- name: Build frontend | |
uses: ./.github/actions/build-frontend | |
with: | |
env-name: ${{ needs.pre_job.outputs.env_name }} | |
appinsights-staging-key: ${{ secrets.APPINSIGHTS_STAGING_KEY }} | |
appinsights-prod-key: ${{ secrets.APPINSIGHTS_PROD_KEY }} | |
version: ${{ needs.pre_job.outputs.version }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
test-admin-user: ${{ secrets.TEST_ADMIN_USERNAME }} | |
test-admin-password: ${{ secrets.TEST_ADMIN_PASSWORD }} | |
test-sender-user: ${{ secrets.TEST_SENDER_USERNAME }} | |
test-sender-password: ${{ secrets.TEST_SENDER_PASSWORD }} | |
test-receiver-user: ${{ secrets.TEST_RECEIVER_USERNAME }} | |
test-receiver-password: ${{ secrets.TEST_RECEIVER_PASSWORD }} |