-
-
Notifications
You must be signed in to change notification settings - Fork 275
52 lines (46 loc) · 1.15 KB
/
build-node-bridge.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
name: "[Build] suite-node-bridge"
on:
push:
branches:
- develop
- grdddj/*
paths-ignore:
- "suite-native/**"
- "docs/**"
- "docker/**"
- "ci/**"
- ".vscode/**"
- ".maestro/**"
pull_request:
types: [labeled]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
node-bridge:
name: Build node-bridge
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
lfs: true
submodules: true
- name: Install node and yarn
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
- name: Install deps and build libs
run: |
yarn install --immutable
yarn message-system-sign-config
- name: Build .js file
run: |
yarn workspace @trezor/transport-bridge build:js
- name: Upload node-bridge artifact
uses: actions/upload-artifact@v4
with:
name: node_bridge_bin_js
path: |
packages/transport-bridge/dist/bin.js
retention-days: 3