forked from TeselaGen/tg-oss
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (30 loc) · 874 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
name: Cypress tests
on: [push, pull_request]
jobs:
cypress-run:
name: Cypress run
runs-on: ubuntu-20.04
strategy:
matrix:
# the actual items in the array do not matter,
# just the number - to force CI to sping 3 copies
# of the current job in parallel
machines: [1, 2, 3, 4, 5, 6]
steps:
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Checkout
uses: actions/checkout@v3
with:
# We need to fetch all branches and commits so that Nx affected has a base to compare against.
fetch-depth: 0
- name: Install dependencies
uses: cypress-io/github-action@v5
with:
# just perform install
runTests: false
- uses: mansagroup/nrwl-nx-action@v3
with:
parallel: 1
targets: e2e