Skip to content

Cypress GitHub Page (manual, scheduled) #47

Cypress GitHub Page (manual, scheduled)

Cypress GitHub Page (manual, scheduled) #47

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.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 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