From ec0d671b3fc5209973fd45bd66394a5d94e168e0 Mon Sep 17 00:00:00 2001 From: arobsn Date: Mon, 24 Jul 2023 16:23:25 -0300 Subject: [PATCH] compile to using fullOpt --- .github/workflows/ci.yml | 2 +- sigma-js/jest.config.js | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5398146f45..4d352a4cb0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -113,7 +113,7 @@ jobs: SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} - name: JS Build - run: sbt -jvm-opts ci/ci.jvmopts ++${{ matrix.scala }} scJS/fastOptJS + run: sbt -jvm-opts ci/ci.jvmopts ++${{ matrix.scala }} scJS/fullOptJS - name: Runs JS tests run: npm run test diff --git a/sigma-js/jest.config.js b/sigma-js/jest.config.js index 3c69644eec..79fa444dc3 100644 --- a/sigma-js/jest.config.js +++ b/sigma-js/jest.config.js @@ -3,8 +3,7 @@ const config = { transform: {}, // reduce non-cached test time by about 20x by disabling babel code transformation moduleDirectories: ["/node_modules"], moduleNameMapper: { - "sigmastate-js/main": - "/../sc/js/target/scala-2.13/sc-fastopt/main.js", + "sigmastate-js/main": "/../sc/js/target/scala-2.13/sc-opt/main.js", }, };