Skip to content

[WC-3017] build: fix issue with build and release commands #1728

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 5, 2025
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
13 changes: 2 additions & 11 deletions .github/workflows/BuildJobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,16 +125,10 @@ jobs:
key: turbo-cache-${{ runner.os }}-${{ matrix.target }}-${{ env.main_sha }}
restore-keys: |
turbo-cache-${{ runner.os }}-${{ matrix.target }}
- if: runner.os == 'Windows'
name: Set concurrency on Windows
run: echo "task_concurrency=3" >> $env:GITHUB_ENV
- if: runner.os == 'Linux'
name: Set concurrency on Linux
run: echo "task_concurrency=5" >> $GITHUB_ENV
- name: Install dependencies
run: pnpm install
- name: Run ${{ matrix.target }} task
run: pnpm run ${{ matrix.target }} --concurrency=${{ env.task_concurrency }} ${{ env.since_flag }}
run: pnpm run ${{ matrix.target }} --concurrency=1 ${{ env.since_flag }}
env:
# Limit memory to avoid out of memory issues
NODE_OPTIONS: "--max-old-space-size=5120 --max_old_space_size=5120"
Expand Down Expand Up @@ -211,10 +205,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: >-
node ./automation/run-e2e/bin/run-e2e-in-chunks.mjs
--chunks ${{ matrix.chunks }}
--index ${{ matrix.index }}
--event-name ${{ github.event_name }}
node ./automation/run-e2e/bin/run-e2e-in-chunks.mjs --chunks ${{ matrix.chunks }} --index ${{ matrix.index }} --event-name ${{ github.event_name }}
- name: Check file existence
id: check_files
uses: andstor/file-existence-action@076e0072799f4942c8bc574a82233e1e4d13e9d6 # v3.0.0
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,6 @@
"onlyBuiltDependencies": [
"canvas"
]
}
},
"prettier": "@mendix/prettier-config-web-widgets"
}
2 changes: 1 addition & 1 deletion turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"outputs": ["dist/**", "!dist/tmp/**"]
},
"release": {
"dependsOn": ["^build", "verify"],
"dependsOn": ["build", "^build", "verify"],
"outputs": ["dist/**", "!dist/tmp/**"]
},
"build:module": {
Expand Down
Loading