-
Notifications
You must be signed in to change notification settings - Fork 1
43 lines (34 loc) · 1.27 KB
/
e2e-cypress-compatibility.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: e2e-cypress-compatibility
on:
push:
jobs:
e2e-cypress-compatibility:
if: "!contains(toJSON(github.event.commits.*.message), '[skip ci]')"
runs-on: ubuntu-latest
strategy:
matrix:
cypress-version: ["12"]# cypress-version: ["13", "12"]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18"
- name: Install alternative cypress binaries
run: CYPRESS_DOWNLOAD_MIRROR=https://cy-cdn.currents.dev npx cypress install --force
- name: Install dependencies
run: npm ci
- name: Install Cypress ${{ matrix.cypress-version }}
working-directory: ./packages/cypress-cloud
run: npm install cypress@${{ matrix.cypress-version }}
- name: Build
run: npm run build
- name: Run compatibility tests
working-directory: ./e2e/cypress-compatibility
env:
CURRENTS_API_KEY: ${{ secrets.CURRENTS_API_KEY }}
CURRENTS_RUN_BASE_URL: ${{ secrets.CURRENTS_RUN_BASE_URL }}
CURRENTS_PROJECT_ID: ${{ secrets.CURRENTS_PROJECT_ID }}
CURRENTS_RECORD_KEY: ${{ secrets.CURRENTS_RECORD_KEY }}
CURRENTS_USE_CYPRESS_VERSION: ${{ matrix.cypress-version }}
run: >
npx jest