Skip to content

Commit 4a87fc1

Browse files
committed
Add publish to wiki
1 parent 5bd9fc9 commit 4a87fc1

File tree

4 files changed

+186
-165
lines changed

4 files changed

+186
-165
lines changed

.github/workflows/build-and-test.yml

Lines changed: 89 additions & 89 deletions
Original file line numberDiff line numberDiff line change
@@ -1,89 +1,89 @@
1-
name: build and test
2-
3-
on:
4-
push:
5-
branches:
6-
- master
7-
pull_request:
8-
branches:
9-
- master
10-
11-
jobs:
12-
build-and-test:
13-
runs-on: ${{ matrix.os }}
14-
15-
strategy:
16-
matrix:
17-
os: [macos-10.15, windows-2019, ubuntu-18.04] # IMPORTANT!!! here ubuntu-18.04 should be same as in codecov and release workflows, this is for making sure caches are used in most efficient way
18-
19-
steps:
20-
- name: Check out Git repository
21-
uses: actions/checkout@v2.3.4
22-
23-
- name: Setup Node.js environment
24-
uses: actions/setup-node@v2.1.4
25-
with:
26-
node-version: '16'
27-
28-
- name: Get yarn cache directory path
29-
id: yarn-cache-dir-path
30-
run: echo "::set-output name=dir::$(yarn cache dir)"
31-
32-
- uses: actions/cache@v2.1.3
33-
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
34-
with:
35-
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
36-
key: ${{ matrix.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
37-
restore-keys: |
38-
${{ matrix.os }}-yarn-
39-
40-
- name: yarn install in ./app/client
41-
run: |
42-
cd ./app/client
43-
yarn install --frozen-lockfile
44-
45-
- name: yarn install in ./
46-
run: yarn install --frozen-lockfile
47-
48-
- name: yarn install in ./app
49-
run: |
50-
cd ./app
51-
yarn install --frozen-lockfile
52-
53-
- name: yarn build
54-
env:
55-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
56-
run: yarn build
57-
58-
# following step does code signing when `electron-builder --publish always` (look in package.json)
59-
- name: yarn package-ci
60-
env:
61-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
62-
run: yarn package-ci
63-
64-
- name: yarn lint
65-
env:
66-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
67-
run: yarn lint
68-
69-
- name: yarn tsc
70-
env:
71-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
72-
run: yarn tsc
73-
74-
- name: yarn test
75-
env:
76-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
77-
run: yarn test
78-
79-
- name: yarn build-ux
80-
env:
81-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
82-
run: yarn build-ux
83-
84-
- name: yarn test-ux
85-
uses: GabrielBB/xvfb-action@v1.2
86-
env:
87-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
88-
with:
89-
run: yarn test-ux
1+
#name: build and test
2+
#
3+
#on:
4+
# push:
5+
# branches:
6+
# - master
7+
# pull_request:
8+
# branches:
9+
# - master
10+
#
11+
#jobs:
12+
# build-and-test:
13+
# runs-on: ${{ matrix.os }}
14+
#
15+
# strategy:
16+
# matrix:
17+
# os: [macos-10.15, windows-2019, ubuntu-18.04] # IMPORTANT!!! here ubuntu-18.04 should be same as in codecov and release workflows, this is for making sure caches are used in most efficient way
18+
#
19+
# steps:
20+
# - name: Check out Git repository
21+
# uses: actions/checkout@v2.3.4
22+
#
23+
# - name: Setup Node.js environment
24+
# uses: actions/setup-node@v2.1.4
25+
# with:
26+
# node-version: '16'
27+
#
28+
# - name: Get yarn cache directory path
29+
# id: yarn-cache-dir-path
30+
# run: echo "::set-output name=dir::$(yarn cache dir)"
31+
#
32+
# - uses: actions/cache@v2.1.3
33+
# id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
34+
# with:
35+
# path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
36+
# key: ${{ matrix.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
37+
# restore-keys: |
38+
# ${{ matrix.os }}-yarn-
39+
#
40+
# - name: yarn install in ./app/client
41+
# run: |
42+
# cd ./app/client
43+
# yarn install --frozen-lockfile
44+
#
45+
# - name: yarn install in ./
46+
# run: yarn install --frozen-lockfile
47+
#
48+
# - name: yarn install in ./app
49+
# run: |
50+
# cd ./app
51+
# yarn install --frozen-lockfile
52+
#
53+
# - name: yarn build
54+
# env:
55+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
56+
# run: yarn build
57+
#
58+
# # following step does code signing when `electron-builder --publish always` (look in package.json)
59+
# - name: yarn package-ci
60+
# env:
61+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
62+
# run: yarn package-ci
63+
#
64+
# - name: yarn lint
65+
# env:
66+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
67+
# run: yarn lint
68+
#
69+
# - name: yarn tsc
70+
# env:
71+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
72+
# run: yarn tsc
73+
#
74+
# - name: yarn test
75+
# env:
76+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
77+
# run: yarn test
78+
#
79+
# - name: yarn build-ux
80+
# env:
81+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
82+
# run: yarn build-ux
83+
#
84+
# - name: yarn test-ux
85+
# uses: GabrielBB/xvfb-action@v1.2
86+
# env:
87+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
88+
# with:
89+
# run: yarn test-ux

.github/workflows/codecov.yml

Lines changed: 76 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -1,76 +1,76 @@
1-
name: codecov
2-
3-
on:
4-
push:
5-
branches:
6-
- master
7-
pull_request:
8-
branches:
9-
- master
10-
11-
jobs:
12-
run:
13-
runs-on: ubuntu-18.04 # IMPORTANT!!! this LINUX os should be the same as in build-and-test and release workflows! this is for making sure caches are used in most efficient way
14-
15-
steps:
16-
- name: Check out Git repository
17-
uses: actions/checkout@v2.3.4
18-
19-
- name: Setup Node.js environment
20-
uses: actions/setup-node@v2.1.4
21-
with:
22-
node-version: '12'
23-
24-
- name: Get yarn cache directory path
25-
id: yarn-cache-dir-path
26-
run: echo "::set-output name=dir::$(yarn cache dir)"
27-
28-
- uses: actions/cache@v2.1.3
29-
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
30-
with:
31-
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
32-
key: ubuntu-18.04-yarn-${{ hashFiles('**/yarn.lock') }}
33-
restore-keys: |
34-
ubuntu-18.04-yarn-
35-
36-
- name: yarn install in ./app/client
37-
run: |
38-
cd ./app/client
39-
yarn install --frozen-lockfile
40-
41-
- name: yarn install in ./
42-
run: yarn install --frozen-lockfile
43-
44-
- name: yarn install in ./app
45-
run: |
46-
cd ./app
47-
yarn install --frozen-lockfile
48-
49-
- name: yarn build
50-
env:
51-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
52-
run: yarn build
53-
54-
- name: yarn test
55-
run: yarn test
56-
57-
- name: yarn coverage
58-
run: yarn coverage
59-
60-
- name: Upload app coverage to Codecov
61-
uses: codecov/codecov-action@v1.0.12
62-
with:
63-
token: ${{ secrets.CODECOV_TOKEN }}
64-
file: ./coverage/clover.xml
65-
flags: unittests
66-
name: codecov-umbrella
67-
fail_ci_if_error: true
68-
69-
- name: Upload app/client coverage to Codecov
70-
uses: codecov/codecov-action@v1.0.12
71-
with:
72-
token: ${{ secrets.CODECOV_TOKEN }}
73-
file: ./app/client/coverage/clover.xml
74-
flags: unittests
75-
name: codecov-umbrella
76-
fail_ci_if_error: true
1+
#name: codecov
2+
#
3+
#on:
4+
# push:
5+
# branches:
6+
# - master
7+
# pull_request:
8+
# branches:
9+
# - master
10+
#
11+
#jobs:
12+
# run:
13+
# runs-on: ubuntu-18.04 # IMPORTANT!!! this LINUX os should be the same as in build-and-test and release workflows! this is for making sure caches are used in most efficient way
14+
#
15+
# steps:
16+
# - name: Check out Git repository
17+
# uses: actions/checkout@v2.3.4
18+
#
19+
# - name: Setup Node.js environment
20+
# uses: actions/setup-node@v2.1.4
21+
# with:
22+
# node-version: '12'
23+
#
24+
# - name: Get yarn cache directory path
25+
# id: yarn-cache-dir-path
26+
# run: echo "::set-output name=dir::$(yarn cache dir)"
27+
#
28+
# - uses: actions/cache@v2.1.3
29+
# id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
30+
# with:
31+
# path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
32+
# key: ubuntu-18.04-yarn-${{ hashFiles('**/yarn.lock') }}
33+
# restore-keys: |
34+
# ubuntu-18.04-yarn-
35+
#
36+
# - name: yarn install in ./app/client
37+
# run: |
38+
# cd ./app/client
39+
# yarn install --frozen-lockfile
40+
#
41+
# - name: yarn install in ./
42+
# run: yarn install --frozen-lockfile
43+
#
44+
# - name: yarn install in ./app
45+
# run: |
46+
# cd ./app
47+
# yarn install --frozen-lockfile
48+
#
49+
# - name: yarn build
50+
# env:
51+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
52+
# run: yarn build
53+
#
54+
# - name: yarn test
55+
# run: yarn test
56+
#
57+
# - name: yarn coverage
58+
# run: yarn coverage
59+
#
60+
# - name: Upload app coverage to Codecov
61+
# uses: codecov/codecov-action@v1.0.12
62+
# with:
63+
# token: ${{ secrets.CODECOV_TOKEN }}
64+
# file: ./coverage/clover.xml
65+
# flags: unittests
66+
# name: codecov-umbrella
67+
# fail_ci_if_error: true
68+
#
69+
# - name: Upload app/client coverage to Codecov
70+
# uses: codecov/codecov-action@v1.0.12
71+
# with:
72+
# token: ${{ secrets.CODECOV_TOKEN }}
73+
# file: ./app/client/coverage/clover.xml
74+
# flags: unittests
75+
# name: codecov-umbrella
76+
# fail_ci_if_error: true

.github/workflows/publish-to-wiki.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Publish wiki
2+
on:
3+
push:
4+
branches: [master]
5+
paths:
6+
- wiki/**
7+
- .github/workflows/publish-wiki.yml
8+
concurrency:
9+
group: publish-wiki
10+
cancel-in-progress: true
11+
permissions:
12+
contents: write
13+
jobs:
14+
publish-wiki:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v3
18+
- uses: Andrew-Chen-Wang/github-wiki-action@v4

wiki/Home.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Welcome to the deskreen wiki!
2+
3+
To edit [Deskreen wiki](https://github.com/pavlobu/deskreen/wiki) please open your PR to [Deskreen Repo](https://github.com/pavlobu/deskreen) with changes in `wiki/` folder.

0 commit comments

Comments
 (0)