Skip to content
Merged
Show file tree
Hide file tree
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
6 changes: 3 additions & 3 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
uses: softprops/diffset@d60d53313c1b61c12ccb0fc76cbde5a14ae5d330 # v3
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository
with:
base: main
base: mx/11.12.x
global_files: |
!{packages/**/*,configs/e2e/*.json,scripts/**/*,data/**/*}
env:
Expand All @@ -32,7 +32,7 @@ jobs:
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
- name: "Fetching main to compare"
- name: "Fetching base branch to compare"
if: github.event_name == 'pull_request' && steps.files.outputs.global_files == ''
run: git fetch --no-tags --prune --depth=1 origin +refs/heads/${{ github.base_ref }}:refs/remotes/origin/${{ github.base_ref }}
- name: "Defining node version"
Expand Down Expand Up @@ -60,6 +60,6 @@ jobs:
- name: "Building internal utilities"
run: pnpm run build:internal-utils
- name: "Running build for development"
run: pnpm -r --filter='!native-widgets' --filter=$(if [ "${{ steps.files.outputs.global_files }}" = "" ] && ${{ github.event_name == 'pull_request' }}; then echo '...[origin/main]'; else echo '**'; fi) run build
run: pnpm -r --filter='!native-widgets' --filter=$(if [ "${{ steps.files.outputs.global_files }}" = "" ] && ${{ github.event_name == 'pull_request' }}; then echo '...[origin/mx/11.12.x]'; else echo '**'; fi) run build
env:
NODE_OPTIONS: --max_old_space_size=8192
10 changes: 5 additions & 5 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Run release

on:
push:
branches: [main]
branches: [main, 'mx/11.12.x']
pull_request:
branches: [main]
branches: [main, 'mx/11.12.x']

jobs:
test:
Expand All @@ -20,7 +20,7 @@ jobs:
uses: softprops/diffset@d60d53313c1b61c12ccb0fc76cbde5a14ae5d330 # v3
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository
with:
base: main
base: mx/11.12.x
global_files: |
!{packages/**/*,configs/e2e/*.json,scripts/**/*,data/**/*}
env:
Expand All @@ -29,7 +29,7 @@ jobs:
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
- name: "Fetching main to compare"
- name: "Fetching base branch to compare"
if: github.event_name == 'pull_request' && steps.files.outputs.global_files == ''
run: git fetch --no-tags --prune --depth=1 origin +refs/heads/${{ github.base_ref }}:refs/remotes/origin/${{ github.base_ref }}
- name: "Defining environment variables"
Expand Down Expand Up @@ -65,6 +65,6 @@ jobs:
- name: "Building internal utilities"
run: pnpm run build:internal-utils
- name: "Running release for production"
run: pnpm -r --filter=$(if [ "${{ steps.files.outputs.global_files }}" = "" ] && ${{ github.event_name == 'pull_request' }}; then echo '...[origin/main]'; else echo '**'; fi) run release
run: pnpm -r --filter=$(if [ "${{ steps.files.outputs.global_files }}" = "" ] && ${{ github.event_name == 'pull_request' }}; then echo '...[origin/mx/11.12.x]'; else echo '**'; fi) run release
env:
NODE_OPTIONS: --max_old_space_size=8192
4 changes: 2 additions & 2 deletions .github/workflows/ShaCheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ name: Ensure SHA pinned actions

on:
push:
branches: [main]
branches: [main, 'mx/11.12.x']
paths:
- ".github/workflows/*.yml"
pull_request:
branches: [main]
branches: [main, 'mx/11.12.x']
paths:
- ".github/workflows/*.yml"

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/UnitTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Run unit tests

on:
push:
branches: [main]
branches: [main, 'mx/11.12.x']
pull_request:
branches: [main]
branches: [main, 'mx/11.12.x']

jobs:
test:
Expand All @@ -17,7 +17,7 @@ jobs:
uses: softprops/diffset@d60d53313c1b61c12ccb0fc76cbde5a14ae5d330 # v3
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository
with:
base: main
base: mx/11.12.x
global_files: |
!{packages/**/*,configs/e2e/*.json,scripts/**/*,data/**/*}
env:
Expand All @@ -26,12 +26,12 @@ jobs:
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
- name: "Fetching main to compare"
- name: "Fetching base branch to compare"
if: github.event_name == 'pull_request' && steps.files.outputs.global_files == ''
run: git fetch --no-tags --prune --depth=1 origin +refs/heads/${{ github.base_ref }}:refs/remotes/origin/${{ github.base_ref }}
- name: "Defining environment variables"
id: variables
run: echo "arg=$(if [ "${{ steps.files.outputs.global_files }}" = "" ] && ${{ github.event_name == 'pull_request' }}; then echo '...[origin/main]'; else echo '**'; fi)" >> ${{ runner.os == 'Windows' && '$env:GITHUB_OUTPUT' || '$GITHUB_OUTPUT' }}
run: echo "arg=$(if [ "${{ steps.files.outputs.global_files }}" = "" ] && ${{ github.event_name == 'pull_request' }}; then echo '...[origin/mx/11.12.x]'; else echo '**'; fi)" >> ${{ runner.os == 'Windows' && '$env:GITHUB_OUTPUT' || '$GITHUB_OUTPUT' }}
- name: "Defining node version"
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
Expand Down
Loading
Loading