-
Notifications
You must be signed in to change notification settings - Fork 30
77 lines (59 loc) · 1.83 KB
/
eslint_flow_jest.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
name: ESLint & Flow & Jest
on:
push:
branches: [master]
pull_request:
types: [opened, reopened]
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: sudo ./install_protobuf.sh
working-directory: ./scripts
run: sudo ./install_protobuf.sh
- name: Set up Python 3.12
uses: actions/setup-python@v4
with:
python-version: 3.12
- name: Fix node-gyp
run: python -m pip install packaging setuptools
- name: yarn ci-cleaninstall
run: yarn ci-cleaninstall
- name: yarn eslint:all --max-warnings=0
run: yarn eslint:all --max-warnings=0
- name: '[lib] flow'
working-directory: ./lib
run: ./node_modules/.bin/flow
- name: '[keyserver] flow'
working-directory: ./keyserver
run: ./node_modules/.bin/flow
- name: '[web] flow'
working-directory: ./web
run: ./node_modules/.bin/flow
- name: '[landing] flow'
working-directory: ./landing
run: ./node_modules/.bin/flow
- name: '[native] flow'
working-directory: ./native
run: ./node_modules/.bin/flow
- name: '[desktop] flow'
working-directory: ./desktop
run: ./node_modules/.bin/flow
- name: '[electron-update-server] flow'
working-directory: ./services/electron-update-server
run: ./node_modules/.bin/flow
- name: '[lib] test'
working-directory: ./lib
env:
ALCHEMY_API_KEY: ${{secrets.ALCHEMY_API_KEY}}
run: yarn test
- name: '[keyserver] test'
working-directory: ./keyserver
run: yarn test
- name: '[web] test'
working-directory: ./web
run: yarn test
- name: '[native] test'
working-directory: ./native
run: yarn test