-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (34 loc) · 1.04 KB
/
cypress-mysite.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: Cypress GitHub Page (manual, scheduled)
on:
workflow_dispatch:
schedule:
- cron: '00 17 * * *' #Daily 17:00 UTC
jobs:
Cypress-GitHub-Page-Test:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Message
run: echo This performs a test of my GitHub page daily at 17:00 UTC
- name: Checkout Repo
uses: actions/checkout@v4.1.6
- 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 ready-to-test
- name: Upload Report to GitHub
uses: actions/upload-artifact@v4.3.3
if: always()
with:
name: Test Results + Video
path: ./cypress/reports/
if-no-files-found: warn
retention-days: 60