File tree 3 files changed +90
-40
lines changed
3 files changed +90
-40
lines changed Original file line number Diff line number Diff line change
1
+ name : Autonolas registry
2
+ on :
3
+ push :
4
+ branches :
5
+ - main
6
+ paths :
7
+ - ' apps/autonolas-registry/**'
8
+ pull_request :
9
+ paths :
10
+ - ' apps/autonolas-registry/**'
11
+
12
+ jobs :
13
+ build :
14
+ continue-on-error : False
15
+ runs-on : ubuntu-latest
16
+ steps :
17
+ - uses : actions/checkout@v4
18
+ with :
19
+ fetch-depth : 0
20
+ - uses : actions/setup-node@v3
21
+ with :
22
+ node-version : 18
23
+ - name : Install modules
24
+ run : yarn
25
+ - run : git branch --track main origin/main
26
+ - name : Run ESLint
27
+ run : yarn nx affected -t lint
28
+ - name : Run Test
29
+ run : yarn nx affected -t test
30
+ scan :
31
+ name : gitleaks
32
+ runs-on : ubuntu-latest
33
+ steps :
34
+ - uses : actions/checkout@v3
35
+ with :
36
+ fetch-depth : 0
37
+ - uses : actions/setup-go@v3
38
+ with :
39
+ go-version : ' 1.17.7'
40
+ - run : |
41
+ wget https://github.com/zricethezav/gitleaks/releases/download/v8.10.1/gitleaks_8.10.1_linux_x64.tar.gz && \
42
+ tar -xzf gitleaks_8.10.1_linux_x64.tar.gz && \
43
+ sudo install gitleaks /usr/bin && \
44
+ gitleaks detect --report-format json --report-path leak_report -v
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ # TODO: figure out how to trigger workflow from vercel for nx
2
+
3
+ name : Tokenomics
4
+ on :
5
+ push :
6
+ branches :
7
+ - main
8
+ paths :
9
+ - ' apps/tokenomics/**'
10
+ pull_request :
11
+ paths :
12
+ - ' apps/tokenomics/**'
13
+
14
+ jobs :
15
+ build :
16
+ continue-on-error : False
17
+ runs-on : ubuntu-latest
18
+ steps :
19
+ - uses : actions/checkout@v4
20
+ with :
21
+ fetch-depth : 0
22
+ - uses : actions/setup-node@v3
23
+ with :
24
+ node-version : 18
25
+ - name : Install modules
26
+ run : yarn
27
+ - run : git branch --track main origin/main
28
+ - name : Run ESLint
29
+ run : yarn nx affected -t lint
30
+ - name : Run Test
31
+ run : yarn nx affected -t test
32
+ scan :
33
+ name : gitleaks
34
+ runs-on : ubuntu-latest
35
+ steps :
36
+ - uses : actions/checkout@v3
37
+ with :
38
+ fetch-depth : 0
39
+ - uses : actions/setup-go@v3
40
+ with :
41
+ go-version : ' 1.17.7'
42
+ - run : |
43
+ wget https://github.com/zricethezav/gitleaks/releases/download/v8.10.1/gitleaks_8.10.1_linux_x64.tar.gz && \
44
+ tar -xzf gitleaks_8.10.1_linux_x64.tar.gz && \
45
+ sudo install gitleaks /usr/bin && \
46
+ gitleaks detect --report-format json --report-path tokenomics.json -v
You can’t perform that action at this time.
0 commit comments