From 0feb39f57f073bbf65f130c4f76b610fb92f918d Mon Sep 17 00:00:00 2001 From: FabioPinheiro Date: Wed, 4 Oct 2023 22:33:57 +0100 Subject: [PATCH] another try --- .github/workflows/scala-steward.yml | 2 ++ build.sbt | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/scala-steward.yml b/.github/workflows/scala-steward.yml index 96c14758..ecb586a4 100644 --- a/.github/workflows/scala-steward.yml +++ b/.github/workflows/scala-steward.yml @@ -26,6 +26,8 @@ jobs: uses: japgolly/setup-scalajs@v1 - name: Cache sbt uses: coursier/cache-action@v6.3 + - name: Install npm dependencies + run: npm install # this ciJobPrepare is to avoid the error java.lang.IllegalArgumentException: requirement failed: # You must add typescript as a dependency. /home/runner/scala-steward/workspace/repos/FabioPinheiro/scala-did/node_modules/typescript/lib must exist. diff --git a/build.sbt b/build.sbt index 075a08c8..258687f8 100644 --- a/build.sbt +++ b/build.sbt @@ -262,7 +262,7 @@ addCommandAlias("fullPackAll", "docs/mdoc;doc;compile;serviceworker/fullLinkJS;w addCommandAlias("cleanAll", "clean;docs/clean") addCommandAlias("assemblyAll", "installFrontend;fullPackAll;buildFrontend;demoJVM/assembly") addCommandAlias("live", "fastPackAll;~demoJVM/reStart") -addCommandAlias("ciJobPrepare", "installFrontend;fullPackAll;buildFrontend;testAll") +addCommandAlias("ciJobPrepare", "installFrontend;fullPackAll;buildFrontend") addCommandAlias("ciJob", "ciJobPrepare;testAll") lazy val installFrontend = taskKey[Unit]("Install all NPM package")