Skip to content

Commit 4550e5c

Browse files
authored
Merge pull request #362 from manosim/setup-electron-builder
* Move /dist to /build * Bump version 3.0.0 * Setup Electron Builder * Remove electron-packager * Trigger CircleCI * Setup Github Actions * Store artifact * Fix checkbox css * Restructure assets
2 parents 02e9b04 + cedf742 commit 4550e5c

29 files changed

+1093
-657
lines changed

.circleci/config.yml

Lines changed: 0 additions & 93 deletions
This file was deleted.

.github/workflows/main.yml

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
name: CI
2+
3+
on: [push]
4+
5+
jobs:
6+
setup:
7+
runs-on: ubuntu-18.04
8+
9+
steps:
10+
- uses: actions/checkout@v2
11+
12+
- name: Get yarn cache
13+
id: yarn-cache
14+
run: echo "::set-output name=dir::$(yarn cache dir)"
15+
16+
- uses: actions/cache@v1
17+
with:
18+
path: ${{ steps.yarn-cache.outputs.dir }}
19+
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
20+
restore-keys: |
21+
${{ runner.os }}-yarn-
22+
23+
- name: Install Dependencies
24+
run: yarn install
25+
26+
run-unit-tests:
27+
runs-on: ubuntu-18.04
28+
needs: setup
29+
30+
steps:
31+
- uses: actions/checkout@v2
32+
33+
- name: Get yarn cache
34+
id: yarn-cache
35+
run: echo "::set-output name=dir::$(yarn cache dir)"
36+
37+
- name: Install Dependencies
38+
run: yarn install
39+
40+
- name: Run Prettier (Check)
41+
run: yarn prettier-check
42+
43+
- name: Run Jest
44+
run: yarn test --coverage --runInBand
45+
46+
build-macos:
47+
runs-on: macos-10.15
48+
needs: setup
49+
50+
steps:
51+
- uses: actions/checkout@v2
52+
53+
- name: Get yarn cache
54+
id: yarn-cache
55+
run: echo "::set-output name=dir::$(yarn cache dir)"
56+
57+
- name: Install Dependencies
58+
run: yarn install
59+
60+
- name: Build
61+
run: yarn build
62+
63+
- name: Pack (electron-builder)
64+
run: yarn pack
65+
66+
- name: Make macOS (electron-builder)
67+
env:
68+
CSC_LINK: ${{ secrets.mac_certs }}
69+
CSC_KEY_PASSWORD: ${{ secrets.mac_certs_password }}
70+
run: yarn make:macos
71+
72+
- name: Clean up builds
73+
run: rm -rfv dist/mac dist/Gitify-*.dmg*
74+
75+
- uses: actions/upload-artifact@v1
76+
with:
77+
name: Gitify-dist
78+
path: dist

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,4 +77,4 @@ tmp/
7777
temp/
7878

7979
dist/
80-
Gitify-darwin-x64/
80+
build/

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Gitify [![circleci][circleci-image]][circleci-url] [![codecov][codecov-image]][codecov-url] [![downloads][downloads-image]][downloads-url]
1+
# Gitify [![github][github-image]][github-url] [![codecov][codecov-image]][codecov-url] [![downloads][downloads-image]][downloads-url]
22

33
> The mobile app has been depreacated in favor of the official GitHub mobile app the is coming out [soon](https://github.com/mobile).
44
5-
![Gitify](images/press.jpg)
5+
![Gitify](assets/images/press.jpg)
66

77
### Download
88

@@ -86,8 +86,8 @@ Since version `1.1.0` you can now debug Gitify by pressing `alt+cmd+I`. This wil
8686

8787
Gitify is licensed under the MIT Open Source license. For more information, see the LICENSE file in this repository.
8888

89-
[circleci-image]: https://circleci.com/gh/manosim/gitify.svg?style=svg
90-
[circleci-url]: https://circleci.com/gh/manosim/gitify
89+
[github-image]: https://github.com/manosim/gitify/workflows/CI/badge.svg
90+
[github-url]: https://circleci.com/gh/manosim/gitify
9191
[codecov-image]: https://codecov.io/gh/manosim/gitify/branch/master/graph/badge.svg
9292
[codecov-url]: https://codecov.io/gh/manosim/gitify
9393
[downloads-image]: https://img.shields.io/github/downloads/manosim/gitify/total.svg
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)