Skip to content

Commit 0e888b4

Browse files
authored
Merge pull request #69 from lightninglabs/rc3-feedback
RC3 feedback
2 parents 766ae68 + 23701b5 commit 0e888b4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+542
-219
lines changed

.github/workflows/main.yml

Lines changed: 41 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ on:
99
- "*"
1010

1111
jobs:
12-
test:
13-
name: nodejs v${{ matrix.node_version }} on ${{ matrix.os }}
12+
frontend:
13+
name: frontend tests on ${{ matrix.os }}
1414
runs-on: ${{ matrix.os }}
1515

1616
strategy:
1717
matrix:
18-
node_version: [12.x, 14.x]
18+
node_version: [12.x]
1919
os: [ubuntu-latest, windows-latest, macOS-latest]
2020

2121
steps:
@@ -24,9 +24,10 @@ jobs:
2424
git config --global core.eol lf
2525
git config --global core.autocrlf false
2626
27-
- uses: actions/checkout@v1
27+
- name: git checkout
28+
uses: actions/checkout@v2
2829

29-
- name: setup nodejs
30+
- name: setup nodejs v${{ matrix.node_version }}
3031
uses: actions/setup-node@v1
3132
with:
3233
node-version: ${{ matrix.node_version }}
@@ -38,13 +39,15 @@ jobs:
3839
id: yarn-cache-dir
3940
run: echo "::set-output name=dir::$(yarn cache dir)"
4041

41-
- uses: actions/cache@v1
42+
- name: yarn cache
43+
uses: actions/cache@v2
4244
id: yarn-cache
4345
with:
4446
path: ${{ steps.yarn-cache-dir.outputs.dir }}
45-
key: ${{ runner.os }}-${{ runner.node_version }}-yarn-${{ hashFiles('**/yarn.lock') }}
47+
key: ${{ runner.os }}-yarn-${{ matrix.node_version }}-${{ hashFiles('**/yarn.lock') }}
4648
restore-keys: |
47-
${{ runner.os }}-${{ runner.node_version }}-yarn-
49+
${{ runner.os }}-yarn-${{ matrix.node_version }}-
50+
${{ runner.os }}-yarn-
4851
4952
- name: install dependencies
5053
working-directory: ./app
@@ -62,6 +65,33 @@ jobs:
6265
working-directory: ./app
6366
run: yarn test:ci
6467

65-
- name: build app
66-
working-directory: ./app
67-
run: yarn build
68+
backend:
69+
name: backend build on ${{ matrix.os }}
70+
runs-on: ${{ matrix.os }}
71+
72+
strategy:
73+
matrix:
74+
go_version: [1.14.x]
75+
os: [ubuntu-latest, windows-latest, macOS-latest]
76+
77+
steps:
78+
- name: git checkout
79+
uses: actions/checkout@v2
80+
81+
- name: go cache
82+
uses: actions/cache@v2
83+
with:
84+
path: ~/go/pkg/mod
85+
key: ${{ runner.os }}-go-${{ matrix.go_version }}-${{ hashFiles('**/go.sum') }}
86+
restore-keys: |
87+
${{ runner.os }}-go-${{ matrix.go_version }}-${{ hashFiles('**/go.sum') }}
88+
${{ runner.os }}-go-${{ matrix.go_version }}-
89+
${{ runner.os }}-go-
90+
91+
- name: setup go v${{ matrix.go_version }}
92+
uses: actions/setup-go@v2
93+
with:
94+
go-version: '~${{ matrix.go_version }}'
95+
96+
- name: build backend binary
97+
run: make build

app/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
"@improbable-eng/grpc-web": "0.12.0",
2323
"big.js": "5.2.2",
2424
"bootstrap": "4.5.0",
25+
"copy-to-clipboard": "3.3.1",
26+
"date-fns": "2.14.0",
2527
"debug": "4.1.1",
2628
"emotion-theming": "10.0.27",
2729
"file-saver": "2.0.2",

0 commit comments

Comments
 (0)