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", }, }; diff --git a/sigma-js/package.json b/sigma-js/package.json index b1ff6c4df7..31a0eb3f81 100644 --- a/sigma-js/package.json +++ b/sigma-js/package.json @@ -30,7 +30,7 @@ "scripts": { "test": "jest", "clean": "shx rm -rf ./dist/*", - "copy-output": "shx mkdir -p ./dist/ && cp -r ../sc/js/target/scala-2.13/sc-fastopt/* ./dist/", + "copy-output": "shx mkdir -p ./dist/ && cp -r ../sc/js/target/scala-2.13/sc-opt/* ./dist/", "prepublishOnly": "npm run clean && npm run copy-output", "ci:snapshot": "node ./scripts/setSnapshotVersion" },