From 9e1a0693548fd8a97726495fc24c184a28948dc3 Mon Sep 17 00:00:00 2001 From: Ry Jones Date: Fri, 31 Jan 2025 04:24:33 -0800 Subject: [PATCH] chore: update actions (#197) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ry Jones Co-authored-by: Javier RiboĢ --- .github/workflows/pull-request.yml | 4 ++-- apollo/build.gradle.kts | 10 +++++++--- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index cf493802f..3b284da83 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -135,7 +135,7 @@ jobs: run: ./gradlew koverHtmlReport koverXmlReport - name: "Upload coverage html" - uses: actions/upload-artifact@v3.1.2 + uses: actions/upload-artifact@v4.0.0 with: name: coverage-results-${{ matrix.os-type }}.zip path: apollo/build/reports/kover/html @@ -154,7 +154,7 @@ jobs: - name: "Upload the build report" if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: path: "**/build/reports/" name: report-${{ matrix.os-type }} diff --git a/apollo/build.gradle.kts b/apollo/build.gradle.kts index 53498e274..06d293c46 100644 --- a/apollo/build.gradle.kts +++ b/apollo/build.gradle.kts @@ -645,7 +645,11 @@ kotlin { implementation("org.jetbrains.kotlin-wrappers:kotlin-node:18.11.13-pre.461") } } - val jsTest by getting + val jsTest by getting { + dependencies { + implementation(npm("url", "0.11.4")) + } + } val nativeMain by getting { dependsOn(allButJSMain) kotlin.srcDir( @@ -691,12 +695,12 @@ kotlin { if (os.isMacOsX) { if (tasks.findByName("iosX64Test") != null) { tasks.getByName("iosX64Test") { - device.set("iPhone 14 Plus") + device.set("iPhone 15 Pro Max") } } if (tasks.findByName("iosSimulatorArm64Test") != null) { tasks.getByName("iosSimulatorArm64Test") { - device.set("iPhone 14 Plus") + device.set("iPhone 15 Pro Max") } } }