Skip to content

Commit

Permalink
feat(web-renderer): Release on the JS publication on Maven Central (#…
Browse files Browse the repository at this point in the history
…1751)

* ci(web-renderer): test JS release on Maven Central

* fix(deps): remove kotlin-wrapers-bom

Co-authored-by: Angelo Filaseta <filaseta.angelo@gmail.com>
  • Loading branch information
DanySK and AngeloFilaseta authored Dec 6, 2022
1 parent 352a34a commit 94148c0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
publishKotlinOSSRHPublicationToGithubRepository \
release \
shadowJar \
uploadKotlinOSSRH uploadKotlinMultiplatform \
uploadKotlinOSSRH uploadKotlinMultiplatform uploadJvm uploadJs \
--dry-run
"
eval $COMMAND || eval $COMMAND
Expand Down Expand Up @@ -57,10 +57,9 @@ jobs:
with:
build-command: true
check-command: true
deploy-command: >-
./gradlew uploadKotlinOSSRH uploadKotlinMultiplatform close --parallel ||
./gradlew uploadKotlinOSSRH uploadKotlinMultiplatform close --parallel ||
./gradlew uploadKotlinOSSRH uploadKotlinMultiplatform close --parallel
deploy-command: |
COMMAND="./gradlew uploadJvm uploadJs uploadKotlinOSSRH uploadKotlinMultiplatform close --parallel"
eval "$COMMAND" || eval "$COMMAND" || eval "$COMMAND"
java-version: 11
should-run-codecov: false
should-deploy: true
Expand Down
1 change: 0 additions & 1 deletion alchemist-web-renderer/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ kotlin {
val jsMain by getting {
dependencies {
implementation(libs.bundles.ktor.client)
implementation(project.dependencies.enforcedPlatform(libs.kotlin.wrappers.bom))
implementation(libs.bundles.kotlin.react)
implementation(npm("react-bootstrap", "2.5.0"))
}
Expand Down
1 change: 0 additions & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ kotlin-test-common = { module = "org.jetbrains.kotlin:kotlin-test-common", versi
kotlin-test-annotations = { module = "org.jetbrains.kotlin:kotlin-test-annotations-common", version.ref = "kotlin" }
kotlin-react = { module = "org.jetbrains.kotlin-wrappers:kotlin-react", version.ref = "react" }
kotlin-react-dom = { module = "org.jetbrains.kotlin-wrappers:kotlin-react-dom", version.ref = "react" }
kotlin-wrappers-bom = "org.jetbrains.kotlin-wrappers:kotlin-wrappers-bom:1.0.0-pre.454"
kotlinx-serialization-json = "org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.1"
kotlin-stdlib = { module = "org.jetbrains.kotlin:kotlin-stdlib", version.ref = "kotlin" }
ktor-client-core = { module = "io.ktor:ktor-client-core", version.ref = "ktor" }
Expand Down
2 changes: 1 addition & 1 deletion kotlin-js-store/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -837,7 +837,7 @@ cross-spawn@^7.0.3:
shebang-command "^2.0.0"
which "^2.0.1"

csstype@^3.0.2, csstype@^3.1.0:
csstype@^3.0.2, csstype@^3.1.1:
version "3.1.1"
resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.1.1.tgz#841b532c45c758ee546a11d5bd7b7b473c8c30b9"
integrity sha512-DJR/VvkAvSZW9bTouZue2sSxDwdTN92uHjqeKVm+0dAqdfNykRzQ95tay8aXMBAAPpUiq4Qcug2L7neoRh2Egw==
Expand Down

0 comments on commit 94148c0

Please sign in to comment.