SRVLOGIC-382: SonataFlow Management Console productization setup in midstream #66
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: "CI :: Code formatting" | |
on: | |
workflow_dispatch: | |
push: | |
branches: [main] | |
pull_request: | |
branches: ["**"] | |
concurrency: | |
group: ${{ github.event.pull_request && format('check-code-formatting-pr-{0}', github.event.pull_request.number) || format('check-code-formatting-push-main-{0}', github.sha) }} | |
cancel-in-progress: true | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout @ GitHub default" | |
uses: actions/checkout@v3 | |
- name: "Checkout @ Simulated squashed-merge if PR" | |
uses: ./.github/actions/checkout-pr | |
with: | |
ref: ${{ github.base_ref }} | |
- name: "Setup environment" | |
uses: ./.github/actions/setup-env | |
- name: "Check code formatting" | |
shell: bash | |
run: | | |
export NODE_OPTIONS=--max_old_space_size=6144 | |
pnpm bootstrap:root | |
pnpm format:check |