Skip to content

[Advanced Approval Workflows] Display empty state when the member list is empty #2212

[Advanced Approval Workflows] Display empty state when the member list is empty

[Advanced Approval Workflows] Display empty state when the member list is empty #2212

Workflow file for this run

name: 🔮 React Compiler
on:
pull_request:
paths:
- ".github/workflows/reactCompiler.yml"
- "src/**"
- "package.json"
jobs:
check:
name: 🧬 Conformity
runs-on: ubuntu-latest
steps:
- name: Checkout to target branch
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.base.ref }}
- name: Setup Node
uses: ./.github/actions/composite/setupNode
- name: Get list of compiled files (main)
id: old-list
run: |
RAW_OUTPUT=$(npx react-compiler-healthcheck --json 2>/dev/null)
echo "Raw output: $RAW_OUTPUT"
OLD_LIST=$(echo "$RAW_OUTPUT" | jq -c .)
echo "OLD_LIST=$OLD_LIST" >> "$GITHUB_OUTPUT"
- name: Checkout to current branch
uses: actions/checkout@v4
- name: Setup Node
uses: ./.github/actions/composite/setupNode
- name: Get list of compiled files (PR)
id: new-list
run: |
RAW_OUTPUT=$(npx react-compiler-healthcheck --json 2>/dev/null)
echo "Raw output: $RAW_OUTPUT"
NEW_LIST=$(echo "$RAW_OUTPUT" | jq -c .)
echo "NEW_LIST=$NEW_LIST" >> "$GITHUB_OUTPUT"
- name: Check for react compiler changes
id: checkReactCompiler
uses: ./.github/actions/javascript/checkReactCompiler
with:
NEW_LIST: ${{ steps.new-list.outputs.NEW_LIST }}
OLD_LIST: ${{ steps.old-list.outputs.OLD_LIST }}