Skip to content

Commit 4dbd71f

Browse files
committed
Ran test:compatibility in CI
1 parent c3de0cb commit 4dbd71f

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

.github/workflows/ci.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,3 +101,46 @@ jobs:
101101
PERCY_PARALLEL_NONCE: ${{ env.PERCY_PARALLEL_NONCE }}
102102
PERCY_PARALLEL_TOTAL: ${{ env.PERCY_PARALLEL_TOTAL }}
103103
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 }}

0 commit comments

Comments
 (0)