@@ -2,12 +2,12 @@ name: build
2
2
3
3
on :
4
4
push :
5
- branches : [main]
5
+ branches : [main, develop ]
6
6
paths-ignore :
7
7
- " docs/"
8
8
- " **.md"
9
9
pull_request :
10
- branches : [main]
10
+ branches : [main, develop ]
11
11
paths-ignore :
12
12
- " docs/"
13
13
- " **.md"
@@ -22,24 +22,17 @@ jobs:
22
22
23
23
matrix :
24
24
# Run the pipeline on all the currently supported OS versions
25
- os : [ubuntu-latest, windows-latest, macos-latest ]
25
+ os : [ubuntu-latest]
26
26
27
27
# Run the pipeline on all the currently supported LTS versions and the upcoming version
28
- node-version : [10, 12, 14, 16 ]
28
+ node-version : [18, 19 ]
29
29
30
30
# Run the pipeline on all the currently supported architectures
31
31
architecture : [x64]
32
32
33
33
steps :
34
34
# Cloning
35
35
- uses : actions/checkout@v2
36
- with :
37
- repository : " syntest-framework/syntest-framework"
38
- token : ${{ secrets.SYNTEST_CI }}
39
- path : syntest-framework
40
- - uses : actions/checkout@v2
41
- with :
42
- path : syntest-solidity
43
36
44
37
# Setup
45
38
- name : Use Node.js ${{ matrix.node-version }}
@@ -61,31 +54,14 @@ jobs:
61
54
${{ runner.os }}-node-
62
55
${{ runner.os }}-
63
56
64
- # SynTest Framework
65
- - name : Framework - Install Dependencies
66
- run : npm install
67
- working-directory : syntest-framework
68
- - name : Framework - Build framework
69
- run : npm run build
70
- working-directory : syntest-framework
71
- - name : Framework - Link
72
- run : npm link
73
- working-directory : syntest-framework
74
-
75
57
# Dependencies
76
58
- name : Solidity - Install Dependencies
77
59
run : npm install
78
- working-directory : syntest-solidity
79
- - name : Solidity - Link Local Framework
80
- run : npm link @syntest/framework
81
- working-directory : syntest-solidity
82
60
83
61
# Building
84
- - name : Solidity - Build Solidity
62
+ - name : Solidity - Build
85
63
run : npm run build
86
- working-directory : syntest-solidity
87
64
88
65
# Testing
89
66
- name : Solidity - Run Tests
90
67
run : npm test
91
- working-directory : syntest-solidity
0 commit comments