[CP Staging] Fix headerMessage wrapper render logic #1084
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: 🔮 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 }} |