-
Notifications
You must be signed in to change notification settings - Fork 11
54 lines (46 loc) · 1.25 KB
/
validate-desktop.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: Validate + Test Desktop code
on:
push:
branches:
- master
paths:
- ".github/workflows/validate-desktop.yml"
- "frontend/apps/desktop/**"
- "frotend/packages/**"
- "package.json"
- "frontend/apps/desktop/package.json"
pull_request:
paths:
- ".github/workflows/validate-desktop.yml"
- "frontend/apps/desktop/**"
- "frotend/packages/**"
- "package.json"
- "frontend/apps/desktop/package.json"
branches-ignore:
- "renovate/**"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
validate-test-desktop:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/ci-setup
with:
matrix-os: "ubuntu-latest"
- name: Validate code
run: |
yarn validate
- name: Build Backend (Unix)
run: |
mkdir -p plz-out/bin/backend
go build -o plz-out/bin/backend/mintterd-x86_64-unknown-linux-gnu ./backend/cmd/mintterd
env:
GOARCH: amd64
CGO_ENABLED: 1
- name: Package desktop app
run: |
yarn desktop:package
- name: Run desktop app tests
run: yarn desktop:test