diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4c34db8..6a66f79 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v4 with: - node-version: 19 + node-version: 20 - name: Install dependencies run: | cd examples/client @@ -21,11 +21,11 @@ jobs: - name: Setup JVM uses: actions/setup-java@v4 with: - java-version: "19" + java-version: "22" distribution: "zulu" # - name: Tests # run: sbt +test - - name: server/dist + - name: DEV=prod server/dist run: sbt server/dist env: NODE_OPTIONS: "--openssl-legacy-provider" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0dd602f..8b80c94 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,16 +15,16 @@ jobs: - name: Setup Node uses: actions/setup-node@v4 with: - node-version: 19 + node-version: 20 - name: Setup JVM uses: actions/setup-java@v4 with: - java-version: "19" + java-version: "22" distribution: "zulu" # - name: Tests # run: sbt +test - name: Release - run: sbt ci-release + run: DEV=prod sbt ci-release env: PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }} PGP_SECRET: ${{ secrets.PGP_SECRET }} diff --git a/.gitignore b/.gitignore index 2497905..14a6201 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ target/ node_modules/ dist/ *.bak +version.sbt diff --git a/build.sbt b/build.sbt index 4ea8381..5391807 100644 --- a/build.sbt +++ b/build.sbt @@ -126,7 +126,6 @@ lazy val server = project scalaJSProjects := Seq(example), Assets / pipelineStages := Seq(scalaJSPipeline), libraryDependencies ++= Seq( - "dev.zio" %% "zio-http" % "3.0.0-RC6", "io.github.iltotore" %% "iron-zio-json" % "2.5.0", "com.softwaremill.sttp.tapir" %% "tapir-zio" % tapirVersion, "com.softwaremill.sttp.tapir" %% "tapir-zio-http-server" % tapirVersion,