File tree 1 file changed +21
-6
lines changed
1 file changed +21
-6
lines changed Original file line number Diff line number Diff line change 7
7
branches : [ master, develop ]
8
8
9
9
jobs :
10
- build :
11
-
10
+ php :
12
11
runs-on : ubuntu-latest
13
12
strategy :
14
13
fail-fast : false
41
40
42
41
- name : Install dependencies
43
42
run : npm install
44
- - name : Run ESLint
45
- run : npm run eslint -- eslint/rules
46
- - name : Run JSCS
47
- run : npm run jscs eslint/rules Magento2
48
43
49
44
- name : Validate composer
50
45
run : composer validate
63
58
64
59
- name : Run framework suite
65
60
run : vendor/bin/phpcs --standard=Magento2Framework Magento2/Helpers Magento2/Sniffs Magento2Framework/Sniffs
61
+ js :
62
+ runs-on : ubuntu-latest
63
+ name : Javascript tests
64
+
65
+ steps :
66
+ - name : Setup node
67
+ uses : actions/setup-node@v2
68
+ with :
69
+ node-version : ' 16'
70
+
71
+ - uses : actions/checkout@v2
72
+
73
+ - name : Install dependencies
74
+ run : npm install
75
+
76
+ - name : Run ESLint
77
+ run : npm run eslint -- eslint/rules
78
+
79
+ - name : Run JSCS
80
+ run : npm run jscs eslint/rules Magento2
You can’t perform that action at this time.
0 commit comments