-
Notifications
You must be signed in to change notification settings - Fork 4
42 lines (36 loc) · 1016 Bytes
/
cypress.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
name: manage-frontend cypress
on:
push:
branches-ignore:
- 'dependabot/**'
jobs:
cypress:
name: Manage-frontend Cypress
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
strategy:
fail-fast: false
matrix:
group: [1, 2, 3, 4, 5, 6]
steps:
- uses: aws-actions/configure-aws-credentials@v2
with:
role-to-assume: ${{ secrets.MANAGE_FRONTEND_IAM_ROLE }}
aws-region: eu-west-1
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
cache: yarn
- name: Cypress run
uses: cypress-io/github-action@v6
env:
IDAPI_CLIENT_ACCESS_TOKEN: ${{ secrets.IDAPI_CLIENT_ACCESS_TOKEN }}
with:
start: yarn cypress:server
wait-on: 'http://localhost:9234, http://localhost:9233'
wait-on-timeout: 30
quiet: true
browser: chrome
spec: cypress/e2e/parallel-${{ matrix.group }}/*.ts