38 lines (35 loc) · 912 Bytes
/
dev.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
name: dev
on:
push:
branches: [main]
workflow_dispatch:
concurrency:
group: ${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
cypress-e2e-test:
strategy:
fail-fast: false
matrix:
machines: [1, 2]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 16
- name: Cypress e2e tests 🧪
uses: cypress-io/github-action@v5.0.8
with:
browser: chrome
config-file: cypress/config/dev.config.js
record: true
parallel: true
group: dev-e2e-tests
tag: dev-e2e-tests
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}