-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (33 loc) · 1.08 KB
/
sauce.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
name: Sauce Cypress Cloud Parallel (manual)
on:
workflow_dispatch:
jobs:
Sauce-Tests-Cypress-Cloud-Parallel:
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
fail-fast: false # https://github.com/cypress-io/github-action/issues/48
matrix:
containers: [1, 2] # parallel instances
steps:
- name: Checkout Repo
uses: actions/checkout@v4.1.7
- name: Setup Node.js environment
uses: actions/setup-node@v4.0.2
with:
node-version: 20.10.0
- name: Print system node version and current directory
run: |
node -v
ls
- name: Test
uses: cypress-io/github-action@v6
with:
command: npm run sauce-demo
record: true
parallel: true
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# overwrite commit message sent to Cypress Cloud
COMMIT_INFO_MESSAGE: ${{ vars.CYPRESS_CLOUD_RUN_NAME }}