File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change @@ -101,3 +101,46 @@ jobs:
101
101
PERCY_PARALLEL_NONCE : ${{ env.PERCY_PARALLEL_NONCE }}
102
102
PERCY_PARALLEL_TOTAL : ${{ env.PERCY_PARALLEL_TOTAL }}
103
103
PERCY_TOKEN : ee0a9d5c1122d6a21852edf19b5b309aaec18077fb3900c98995c90bc48ed240
104
+
105
+
106
+ test-compatibility :
107
+ name : Test compatibility
108
+ runs-on : ubuntu-latest
109
+ strategy :
110
+ fail-fast : true
111
+ matrix :
112
+ scenario :
113
+ - ' ember-lts-3.8'
114
+ - ' ember-lts-3.12'
115
+ - ' ember-lts-3.16'
116
+ - ' ember-release'
117
+ - ' ember-beta'
118
+ - ' ember-canary'
119
+ - ' ember-default-with-jquery'
120
+ - ' ember-classic'
121
+ timeout-minutes : 7
122
+ steps :
123
+ - name : Check out a copy of the repo
124
+ uses : actions/checkout@v2
125
+
126
+ - name : Use Node.js ${{ env.NODE_VERSION }}
127
+ uses : actions/setup-node@v2-beta
128
+ with :
129
+ node-version : ${{ env.NODE_VERSION }}
130
+
131
+ - name : Cache npm cache and node_modules
132
+ id : cache-dependencies
133
+ uses : actions/cache@v2
134
+ with :
135
+ path : |
136
+ ~/.npm
137
+ node_modules
138
+ key : ${{ runner.os }}-${{ env.NODE_VERSION }}-${{ matrix.scenario }}-${{ hashFiles('**/package-lock.json') }}
139
+ restore-keys : ${{ runner.os }}-${{ env.NODE_VERSION }}-${{ matrix.scenario }}-
140
+
141
+ - name : Install dependencies
142
+ run : npm install
143
+ if : steps.cache-dependencies.outputs.cache-hit != 'true'
144
+
145
+ - name : Test
146
+ run : npm run test:ember-compatibility ${{ matrix.scenario }}
You can’t perform that action at this time.
0 commit comments