diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e5c7e8a024..962b4adbd4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,7 +1,9 @@ name: Build YouTube Music on: - - push + push: + branches: [ master ] + pull_request: env: NODE_VERSION: "16.x" diff --git a/package.json b/package.json index e989a1ddcc..75057a3f7e 100644 --- a/package.json +++ b/package.json @@ -87,11 +87,11 @@ "generate:package": "node utils/generate-package-json.js", "postinstall": "yarn run icon && yarn run plugins", "clean": "del-cli dist", - "build": "yarn run clean && electron-builder --win --mac --linux", - "build:linux": "yarn run clean && electron-builder --linux", - "build:mac": "yarn run clean && electron-builder --mac dmg:x64", - "build:mac:arm64": "yarn run clean && electron-builder --mac dmg:arm64", - "build:win": "yarn run clean && electron-builder --win", + "build": "yarn run clean && electron-builder --win --mac --linux -p never", + "build:linux": "yarn run clean && electron-builder --linux -p never", + "build:mac": "yarn run clean && electron-builder --mac dmg:x64 -p never", + "build:mac:arm64": "yarn run clean && electron-builder --mac dmg:arm64 -p never", + "build:win": "yarn run clean && electron-builder --win -p never", "lint": "xo", "changelog": "auto-changelog", "plugins": "yarn run plugin:adblocker && yarn run plugin:bypass-age-restrictions",