Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/actions/build-repository/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,17 @@ runs:
- name: Build
if: ${{ inputs.react-version == '' || inputs.react-version == '16' }}
shell: bash
# We pass ALWAYS_VISUAL_REFRESH only for the dry-run jobs where the tests are skipped so that
# the components tests are unaffected (some still run on Classic), but the downstream packages
# only consume the visual refresh theme.
env:
ALWAYS_VISUAL_REFRESH: ${{ inputs.skip-tests == 'true' }}
run: npm run build
- name: Build (React 18)
if: ${{ inputs.react-version == '18' }}
shell: bash
env:
ALWAYS_VISUAL_REFRESH: ${{ inputs.skip-tests == 'true' }}
run: npm run build:react18
- name: Lint
if: ${{ inputs.skip-lint != 'true' }}
Expand Down
Loading