Skip to content

Commit 2588530

Browse files
committed
build: force concurrency 1 when run release command
1 parent 6cc5a39 commit 2588530

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed

.github/workflows/BuildJobs.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -125,16 +125,10 @@ jobs:
125125
key: turbo-cache-${{ runner.os }}-${{ matrix.target }}-${{ env.main_sha }}
126126
restore-keys: |
127127
turbo-cache-${{ runner.os }}-${{ matrix.target }}
128-
- if: runner.os == 'Windows'
129-
name: Set concurrency on Windows
130-
run: echo "task_concurrency=3" >> $env:GITHUB_ENV
131-
- if: runner.os == 'Linux'
132-
name: Set concurrency on Linux
133-
run: echo "task_concurrency=5" >> $GITHUB_ENV
134128
- name: Install dependencies
135129
run: pnpm install
136130
- name: Run ${{ matrix.target }} task
137-
run: pnpm run ${{ matrix.target }} --concurrency=${{ env.task_concurrency }} ${{ env.since_flag }}
131+
run: pnpm run ${{ matrix.target }} --concurrency=1 ${{ env.since_flag }}
138132
env:
139133
# Limit memory to avoid out of memory issues
140134
NODE_OPTIONS: "--max-old-space-size=5120 --max_old_space_size=5120"
@@ -211,10 +205,7 @@ jobs:
211205
env:
212206
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
213207
run: >-
214-
node ./automation/run-e2e/bin/run-e2e-in-chunks.mjs
215-
--chunks ${{ matrix.chunks }}
216-
--index ${{ matrix.index }}
217-
--event-name ${{ github.event_name }}
208+
node ./automation/run-e2e/bin/run-e2e-in-chunks.mjs --chunks ${{ matrix.chunks }} --index ${{ matrix.index }} --event-name ${{ github.event_name }}
218209
- name: Check file existence
219210
id: check_files
220211
uses: andstor/file-existence-action@076e0072799f4942c8bc574a82233e1e4d13e9d6 # v3.0.0

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,5 +70,6 @@
7070
"onlyBuiltDependencies": [
7171
"canvas"
7272
]
73-
}
73+
},
74+
"prettier": "@mendix/prettier-config-web-widgets"
7475
}

0 commit comments

Comments
 (0)