By using Cypress as an executor, this application will kudo all newest Strava activities.
✅ Kudos all your newest Strava activities hourly (customizable by changing the Github action scheduling)
✅ Config once, using forever
Or you can deploy to Vercel manually by following these steps
Once deployed, you will get a URL to see your app live, such as the following: https://strava-kudos.vercel.app (1)
This application will kudos all activities on your Newfeed hourly (by default)
If you wanna schedule this execution, change the cron value of the strava-kudo.yml
workflow in source code.
You can use crontab guru to help generate your cron syntax and confirm what time it will run. To help you get started, there is also a list of crontab guru examples.
We are leveraging useful features of the Cypress Dashboard:
Recording test results with the record: true
option to the [https://on.cypress.io/dashboard]:
- In-depth and shareable test reports.
- Visibility into test failures via quick access to error messages, stack traces, screenshots, videos, and contextual details.
- Detecting flaky tests and surfacing them via GitHub PR status checks.
To using Cypress Dashboard following these steps:
- Link github account with Cypress dashboard
- Create a new project
- Once created, you will get the
projectId
and record key at (2) - Replace
projectId
at cypress.json with yourprojectId
Cypress need some environment variables to run correctly.
To protect our data, we will put it in Encrypted secrets
The following environment variables should be provided
CYPRESS_BASE_URL // Base URL of your application (1)
CYPRESS_RECORD_KEY // Record key of current project (2)
CYPRESS_STRAVA_PW // Strava's username
CYPRESS_STRAVA_USERNAME // Strava's password
Adding these params to repository's secret at Setting -> Secrets -> New repository secret