diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index fa3321f..46b79a0 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -5,7 +5,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-latest, windows-latest, macOS-11] + os: [ubuntu-latest, macOS-11] steps: - uses: actions/checkout@v2 with: diff --git a/package.json b/package.json index 48f7387..fa3dce7 100644 --- a/package.json +++ b/package.json @@ -46,6 +46,8 @@ }, "win": { "artifactName": "${productName}-${version}-${arch}-${os}.${ext}", + "sign": "./build/windows-codesign.js", + "publish": ["github"], "target": [ "nsis" ] @@ -81,7 +83,8 @@ "husky": { "hooks": { "pre-commit": "pretty-quick --staged --pattern \"**/*.*(js|jsx|ts|tsx)\"", - "post-commit": "git update-index -g" + "post-commit": "git update-index -g", + "pre-push": "yarn dist" } }, "prettier": {