Last active
November 25, 2022 17:11
-
-
Save Ebazhanov/eead31b189c92d34e87db5386f6a947d to your computer and use it in GitHub Desktop.
Schedule CircleCI job for Cypress
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#https://docs.cypress.io/guides/continuous-integration/circleci#Basic-Setup | |
version: 2.1 | |
orbs: | |
cypress: cypress-io/[email protected] | |
workflows: | |
build: | |
jobs: | |
- cypress/run: | |
#https://circleci.com/docs/2.0/contexts/ | |
context: keep-password-secret | |
yarn: true | |
nightly: | |
triggers: | |
- schedule: | |
#https://circleci.com/docs/2.0/workflows/#scheduling-a-workflow | |
#https://crontab.guru/#0_0_*_*_* | |
cron: "0 0 * * *" | |
filters: | |
branches: | |
only: master | |
jobs: | |
- cypress/run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment