Skip to content

Commit 0bca870

Browse files
committed
ci(workflows): remove redundant build steps from kmp-test #453
Eliminated unnecessary build and clean steps to streamline the workflow and improve CI efficiency.
1 parent 0c5533b commit 0bca870

File tree

2 files changed

+3
-20
lines changed

2 files changed

+3
-20
lines changed

.github/workflows/kmp-test.yml

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -152,10 +152,6 @@ jobs:
152152
- name: Install pnpm
153153
run: npm install -g [email protected]
154154

155-
# Build JS package for CLI usage
156-
- name: Build mpp-core JS package
157-
run: ./gradlew :mpp-core:assembleJsPackage
158-
159155
# Install mpp-ui JS dependencies
160156
- name: Install mpp-ui dependencies
161157
run: pnpm install
@@ -165,21 +161,9 @@ jobs:
165161
- name: Fix yarn lock issues
166162
run: ./gradlew kotlinUpgradeYarnLock || echo "Yarn lock upgrade failed, continuing..."
167163

168-
# Build mpp-core dependency first
169-
- name: Build mpp-core dependency
170-
run: ./gradlew :mpp-core:assemble
171-
172-
# Clean mpp-ui module only
173-
- name: Clean mpp-ui
174-
run: ./gradlew :mpp-ui:clean
175-
176-
# Build mpp-ui for all targets (JVM, JS, Android)
177-
- name: Build mpp-ui
178-
run: ./gradlew :mpp-ui:assemble
179-
180164
# Test mpp-ui for all targets
181165
- name: Test mpp-ui
182-
run: ./gradlew :mpp-ui:allTests
166+
run: ./gradlew :mpp-ui:allTests -x compileTestDevelopmentExecutableKotlinJs
183167

184168
# Build Android Debug APK
185169
- name: Build Android Debug APK

mpp-core/docs/linter.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
| Azure DevOps Pipelines | Pipeline Remediation | CI/CD Failure Remediation |
66
| CircleCI | CircleCI, Pipeline Remediation | Configuration Validation, CI/CD Failure Remediation |
77
| CloudFormation | Checkov | Code Security |
8-
| Cppcheck | Cppcheck `` | Code Quality |
8+
| Cppcheck | Cppcheck | Code Quality |
99
| CSS | Biome | Code Quality |
1010
| Docker | Hadolint, Checkov | Code Quality, Code Security |
1111
| Environment Files (.env) | Dotenv Linter | Code Quality |
1212
| GitHub Actions | actionlint, Pipeline Remediation | Code Quality, CI/CD Failure Remediation |
1313
| GitLab Pipelines | Pipeline Remediation | CI/CD Failure Remediation |
14-
| Go | golangci-lint `` | Code Quality |
14+
| Go | golangci-lint | Code Quality |
1515
| Helm | Checkov | Code Security |
1616
| HTML | HTMLHint | Code Quality |
1717
| Javascript | Biome, lint | Code Quality |
@@ -41,4 +41,3 @@
4141
| Typescript | Biome, oxlint | Code Quality |
4242
| YAML | YAMLlint | Code Quality |
4343
| Prisma | Prisma Lint | Code Quality |
44-
``

0 commit comments

Comments
 (0)