@@ -11,102 +11,129 @@ on:
11
11
tags :
12
12
- " *"
13
13
14
+ concurrency :
15
+ group : ci-${{ github.head_ref || github.ref }}
16
+ cancel-in-progress : true
17
+
14
18
jobs :
15
19
lint :
16
20
name : " Linting"
17
21
runs-on : ubuntu-latest
18
22
steps :
19
- - uses : actions/checkout@v3
23
+ - uses : actions/checkout@v4
20
24
- run : yarn install --frozen-lockfile --non-interactive
21
- - run : yarn lint:js
25
+ - run : yarn lint
22
26
23
- ember-tests :
27
+ ember-default- tests :
24
28
needs : lint
25
29
name : " Tests: ubuntu (node@${{ matrix.node-version }})"
26
30
runs-on : ubuntu-latest
27
31
strategy :
32
+ fail-fast : false
28
33
matrix :
29
- node-version : ["18"]
34
+ node-version :
35
+ - 16.14
36
+ - 18
37
+ - 20
30
38
31
39
steps :
32
- - uses : actions/checkout@v3
40
+ - uses : actions/checkout@v4
33
41
with :
34
42
node-version : ${{ matrix.node-version }}
43
+ cache : yarn
35
44
- run : yarn install --frozen-lockfile --non-interactive
36
45
- run : yarn test
37
46
38
- prefer-native-tests :
39
- needs : ember-tests
47
+ prefer-native-ember-default- tests :
48
+ needs : ember-default- tests
40
49
name : " PREFER_NATIVE=true Tests: ubuntu (node@${{ matrix.node-version }})"
41
50
runs-on : ubuntu-latest
42
51
strategy :
52
+ fail-fast : false
43
53
matrix :
44
- node-version : ["18"]
54
+ node-version :
55
+ - 16.14
56
+ - 18
57
+ - 20
45
58
46
59
steps :
47
- - uses : actions/checkout@v3
60
+ - uses : actions/checkout@v4
48
61
with :
49
62
node-version : ${{ matrix.node-version }}
63
+ cache : yarn
50
64
- run : yarn install --frozen-lockfile --non-interactive
51
65
- run : PREFER_NATIVE=true yarn test
52
66
53
- native-promise-tests :
54
- needs : ember-tests
67
+ native-promise-ember-default- tests :
68
+ needs : ember-default- tests
55
69
name : " NATIVE_PROMISE=true Tests: ubuntu (node@${{ matrix.node-version }})"
56
70
runs-on : ubuntu-latest
57
71
strategy :
72
+ fail-fast : false
58
73
matrix :
59
- node-version : ["18"]
74
+ node-version :
75
+ - 16.14
76
+ - 18
77
+ - 20
60
78
61
79
steps :
62
- - uses : actions/checkout@v3
80
+ - uses : actions/checkout@v4
63
81
with :
64
82
node-version : ${{ matrix.node-version }}
65
83
- run : yarn install --frozen-lockfile --non-interactive
66
84
- run : NATIVE_PROMISE=true yarn test
67
85
68
86
node-tests :
69
- needs : ember-tests
87
+ needs : ember-default- tests
70
88
name : " Node Tests: ubuntu (node@${{ matrix.node-version }})"
71
89
runs-on : ubuntu-latest
72
90
strategy :
91
+ fail-fast : false
73
92
matrix :
74
- node-version : ["18"]
93
+ node-version :
94
+ - 16.14
95
+ - 18
96
+ - 20
75
97
76
98
steps :
77
- - uses : actions/checkout@v3
99
+ - uses : actions/checkout@v4
78
100
with :
79
101
node-version : ${{ matrix.node-version }}
80
102
- run : yarn install --frozen-lockfile --non-interactive
81
103
- run : yarn run test:node
82
-
83
- try-scenarios :
104
+
105
+ ember- try-scenarios :
84
106
name : Tests - ${{ matrix.ember-try-scenario }}
85
107
timeout-minutes : 60
86
108
runs-on : ubuntu-latest
87
109
continue-on-error : ${{ matrix.allow-failure }}
88
- needs : ember-tests
110
+ needs : ember-default- tests
89
111
90
112
strategy :
91
113
fail-fast : true
92
114
matrix :
93
115
ember-try-scenario :
94
- - ember-default
95
116
- ember-lts-3.28
96
117
- ember-lts-4.4
97
118
- ember-lts-4.8
98
119
- ember-release
99
- - ember-beta
100
- - ember-canary
101
- - embroider-safe
102
- - embroider-optimized
120
+ allow-failure : [false]
121
+ include :
122
+ - ember-try-scenario : ember-beta
123
+ allow-failure : true
124
+ - ember-try-scenario : ember-canary
125
+ allow-failure : true
126
+ - ember-try-scenario : embroider-safe
127
+ allow-failure : true
128
+ - ember-try-scenario : embroider-optimized
129
+ allow-failure : true
103
130
104
131
steps :
105
- - uses : actions/checkout@v3
132
+ - uses : actions/checkout@v4
106
133
- name : Install Node
107
- uses : actions/setup-node@v3
134
+ uses : actions/setup-node@v4
108
135
with :
109
- node-version : 18.x
136
+ node-version : 16.14
110
137
- name : install dependencies
111
138
run : yarn install
112
139
- name : test
0 commit comments