7
7
pull_request :
8
8
9
9
jobs :
10
- lint-javascript :
11
- name : lint javascript
12
- runs-on : ubuntu-latest
13
- steps :
14
- - uses : actions/checkout@v4
15
- - uses : actions/setup-node@v3
16
- with :
17
- node-version : 18
18
- - name : Install node modules
19
- run : yarn install
20
- - name : Run lint
21
- run : yarn lint:js
22
- lint-templates :
23
- name : lint ember templates
10
+ lint :
11
+ name : lint
24
12
runs-on : ubuntu-latest
13
+ timeout-minutes : 10
14
+
25
15
steps :
26
16
- uses : actions/checkout@v4
27
17
- uses : actions/setup-node@v3
28
18
with :
29
19
node-version : 18
30
- - name : Install node modules
31
- run : yarn install
32
- - name : Run lint
33
- run : yarn lint:hbs
20
+ cache : yarn
21
+ - name : Install Dependencies
22
+ run : yarn install --frozen-lockfile
23
+ - name : Lint
24
+ run : yarn lint
25
+
34
26
test-bundlesize :
35
27
name : test bundlesize
36
28
runs-on : ubuntu-latest
@@ -44,10 +36,12 @@ jobs:
44
36
- uses : actions/setup-node@v3
45
37
with :
46
38
node-version : 18
39
+ cache : yarn
47
40
- name : Install node modules
48
41
run : yarn install
49
42
- name : Run tests
50
43
run : yarn test:bundlesize
44
+
51
45
test-csp-header :
52
46
name : test CSP in .htaccess
53
47
runs-on : ubuntu-latest
@@ -56,10 +50,12 @@ jobs:
56
50
- uses : actions/setup-node@v3
57
51
with :
58
52
node-version : 18
53
+ cache : yarn
59
54
- name : Install node modules
60
55
run : yarn install
61
56
- name : Run tests
62
57
run : yarn test:csp-header
58
+
63
59
test-chrome :
64
60
name : test against Chrome
65
61
runs-on : ubuntu-latest
68
64
- uses : actions/setup-node@v3
69
65
with :
70
66
node-version : 18
67
+ cache : yarn
71
68
- name : Install node modules
72
69
run : yarn install
73
70
- name : Install chrome browser
80
77
run : yarn build --environment test
81
78
- name : run tests in chrome
82
79
run : yarn test:ember --launch Chrome --path dist
80
+
83
81
test-firefox :
84
82
name : test against Firefox
85
83
runs-on : ubuntu-latest
88
86
- uses : actions/setup-node@v3
89
87
with :
90
88
node-version : 18
89
+ cache : yarn
91
90
- name : Install node modules
92
91
run : yarn install
93
92
- name : Setup firefox
100
99
run : yarn build --environment test
101
100
- name : run tests in firefox
102
101
run : yarn test:ember --launch Firefox --path dist
102
+
103
103
test-browserstack :
104
104
name : test against additional browser in BrowserStack
105
105
runs-on : ubuntu-latest
@@ -108,6 +108,7 @@ jobs:
108
108
- uses : actions/setup-node@v3
109
109
with :
110
110
node-version : 18
111
+ cache : yarn
111
112
- name : Install node modules
112
113
run : yarn install
113
114
- name : Build with test environment
@@ -131,6 +132,7 @@ jobs:
131
132
uses : browserstack/github-actions/setup-local@master
132
133
with :
133
134
local-testing : stop
135
+
134
136
test-backend :
135
137
name : Test php backend
136
138
runs-on : ubuntu-latest
0 commit comments