-
Notifications
You must be signed in to change notification settings - Fork 13
50 lines (38 loc) · 1.22 KB
/
test.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
name: Test
on:
push:
branches: [master]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v4
- name: 🏗 Setup monorepo
uses: ./.github/actions/setup-monorepo
- name: Run test scripts of all workspaces in parallel
run: pnpm run test
build-desktop-wallet:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- name: Check out Git repository
uses: actions/checkout@v4
- name: 🏗 Setup monorepo
uses: ./.github/actions/setup-monorepo
- name: Extract platform name
id: get-os
run: echo "os=$(echo ${{ matrix.os }} | cut -d- -f1)" >> $GITHUB_OUTPUT
shell: bash
- name: Skip desktop wallet signing
uses: jaywcjlove/github-action-package@v2.0.0
with:
path: apps/desktop-wallet/package.json
unset: build.win.sign
- name: Building desktop wallet on ${{ steps.get-os.outputs.os }}
run: cd apps/desktop-wallet && pnpm run ci:build:electron:${{ steps.get-os.outputs.os }}
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}