forked from LedgerHQ/device-sdk-ts
-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (35 loc) · 1.05 KB
/
merge_queue.yml
File metadata and controls
45 lines (35 loc) · 1.05 KB
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
name: "[Checks] Merge Queue"
on:
merge_group:
env:
FORCE_COLOR: "1"
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name != 'develop' && github.ref || github.run_id }}
cancel-in-progress: true
jobs:
build-libraries:
name: Build libraries
runs-on: "ledgerhq-device-sdk"
steps:
- uses: actions/checkout@v5
- uses: LedgerHQ/device-sdk-ts/.github/actions/setup-with-build-cache-composite@develop
health-check:
name: Run health check
needs: [build-libraries]
runs-on: "ledgerhq-device-sdk"
steps:
- uses: actions/checkout@v5
- uses: LedgerHQ/device-sdk-ts/.github/actions/setup-with-build-cache-composite@develop
- name: Health check
id: health-check
run: pnpm health-check
tests:
name: Run unit tests
needs: [build-libraries]
runs-on: "ledgerhq-device-sdk"
steps:
- uses: actions/checkout@v5
- uses: LedgerHQ/device-sdk-ts/.github/actions/setup-with-build-cache-composite@develop
- name: Tests
id: unit-tests
run: pnpm test