Skip to content

Commit

Permalink
Upd CI
Browse files Browse the repository at this point in the history
  • Loading branch information
alexk111 committed Jan 18, 2024
1 parent a74d84e commit f045de9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ jobs:
- name: Compile
run: yarn run prod

- name: Draft or Update Release
run: yarn run release
- name: Package App and Draft New Release
run: yarn run package-draft
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -46,8 +46,8 @@ jobs:
- name: Compile
run: yarn run prod

- name: Draft or Update Release
run: yarn run release
- name: Package App and Draft New Release
run: yarn run package-draft
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -68,7 +68,7 @@ jobs:
- name: Compile
run: yarn run prod

- name: Draft or Update Release
run: yarn run release
- name: Package App and Draft New Release
run: yarn run package-draft
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@
"test:watch": "jest --clearCache && cross-env JEST_HIDE_USAGE=1 jest --watch",
"lint": "eslint \"src/**/*.{ts,tsx}\"",
"lint:fix": "eslint \"src/**/*.{ts,tsx}\" --fix",
"package:pack": "electron-builder --config electron-builder.config.js --dir",
"package:dist": "electron-builder --config electron-builder.config.js",
"release": "electron-builder --config electron-builder.config.js --publish onTagOrDraft"
"package-draft": "electron-builder --config electron-builder.config.js"
},
"devDependencies": {
"@swc/core": "^1.3.44",
Expand Down

0 comments on commit f045de9

Please sign in to comment.