Browse Source

fix: webpack progress display options not valid (#1086)

* fix: webpack progress display options not valid

It seems something changed that the progress and display options we were using the hide the output are no longer valid. Remove them.

* add build-release as part of tests
Jacob Bolda 4 năm trước cách đây
mục cha
commit
26c497979f
2 tập tin đã thay đổi với 6 bổ sung1 xóa
  1. 5 0
      .github/workflows/test-core.yml
  2. 1 1
      cli/tauri.js/package.json

+ 5 - 0
.github/workflows/test-core.yml

@@ -68,3 +68,8 @@ jobs:
           cd ./cli/tauri.js
           yarn
           yarn test
+      - name: run release build
+        timeout-minutes: 15
+        working-directory: cli/tauri.js
+        run: yarn build-release
+        

+ 1 - 1
cli/tauri.js/package.json

@@ -14,7 +14,7 @@
     "build:webpack": "rimraf ./dist && yarn build:typevalidators && webpack --progress",
     "build:typevalidators": "node ./build/type-validators",
     "build:api": "rimraf ./api && rollup -c --silent",
-    "build-release": "yarn build --display none --progress false",
+    "build-release": "yarn build:api && rimraf ./dist && yarn build:typevalidators && webpack",
     "test": "jest --runInBand --no-cache --testPathIgnorePatterns=\"(build|dev)\"",
     "pretest": "yarn build",
     "prepublishOnly": "yarn build-release",