Forráskód Böngészése

chore(workflows): split up prepare into postinstall and prepublishOnly (#428)

This will let CI runs of the publish command reduce verbosity. We use the output from the command in our release notes.
Jacob Bolda 5 éve
szülő
commit
a2da82e8f2
1 módosított fájl, 3 hozzáadás és 1 törlés
  1. 3 1
      cli/tauri.js/package.json

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

@@ -11,9 +11,11 @@
   },
   "scripts": {
     "build": "webpack --progress",
+    "build-release": "yarn build --display none --progress false",
     "test": "jest --runInBand --no-cache",
-    "prepare": "yarn build",
     "pretest": "yarn build",
+    "postinstall": "yarn build",
+    "prepublishOnly": "yarn build-release",
     "test:mac-local": "jest --runInBand",
     "lint": "eslint --ext ts ./src/**/*.ts",
     "lint-fix": "eslint --fix --ext ts ./src/**/*.ts",