Skip to content

Commit

Permalink
fix: use zip-all maker on os x (#60)
Browse files Browse the repository at this point in the history
* fix: use zip-all maker on osx

* chore: update depcheckrc

* ci: only build on os x
  • Loading branch information
Cafe137 authored Apr 13, 2022
1 parent 747b3e0 commit 403aeb4
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 58 deletions.
1 change: 1 addition & 0 deletions .depcheckrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"@electron-forge/maker-zip",
"@kayahr/jest-electron-runner",
"@types/jest",
"electron-forge-maker-zip-all",
"ts-jest",
"ts-node"
]
Expand Down
28 changes: 0 additions & 28 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,6 @@ on:
- created

jobs:
publish_on_linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@master
with:
node-version: 14
- name: install dependencies
run: npm install
- name: publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm run publish

publish_on_mac:
runs-on: macos-latest
steps:
Expand All @@ -32,17 +18,3 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm run publish

publish_on_win:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@master
with:
node-version: 14
- name: install dependencies
run: npm install
- name: publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm run publish
51 changes: 23 additions & 28 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
}
},
{
"name": "@electron-forge/maker-zip",
"name": "electron-forge-maker-zip-all",
"platforms": [
"darwin"
]
Expand Down Expand Up @@ -74,7 +74,6 @@
"@electron-forge/maker-deb": "^6.0.0-beta.63",
"@electron-forge/maker-rpm": "^6.0.0-beta.63",
"@electron-forge/maker-squirrel": "^6.0.0-beta.63",
"@electron-forge/maker-zip": "^6.0.0-beta.63",
"@electron-forge/publisher-github": "^6.0.0-beta.63",
"@kayahr/jest-electron-runner": "^4.4.1",
"@types/jest": "^27.4.1",
Expand All @@ -90,6 +89,7 @@
"@typescript-eslint/parser": "^5.17.0",
"depcheck": "^1.4.3",
"electron": "18.0.1",
"electron-forge-maker-zip-all": "^0.1.0",
"eslint": "^8.12.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-jest": "^25.7.0",
Expand Down

0 comments on commit 403aeb4

Please sign in to comment.