Skip to content

Commit

Permalink
monorepo: fix smoke ci action, w/ better schedule
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredh159 committed Dec 22, 2023
1 parent e06b27f commit 161f711
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/smoke.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
name: smoke

on:
push:
schedule:
# every 6 hours
- cron: 0 */6 * * *
# mon-fri, every 3 hrs from 10am-7pm EST, 45 past hour
- cron: '45 15-23/3 * * 1-5'

jobs:
smoke:
name: smoke
smoke-test:
name: smoke-test
runs-on: ubuntu-latest
steps:
- name: test-slack
- name: show date
run: date
- name: checkout
uses: actions/checkout@v3
- name: install pnpm
Expand Down
2 changes: 1 addition & 1 deletion smoke/cypress/e2e/smoke.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ describe(`Smoke test`, () => {
cy.get(`input[name=email]`).type(email);
cy.get(`input[name=password]`).type(`${password}{enter}`);
cy.contains(`Verification email sent`);
cy.wait(Cypress.env(`CI`) ? 10000 : 2500);
cy.wait(Cypress.env(`CI`) ? 60000 : 5000);

// verify email
cy.request({ url: Cypress.env(`SMOKE_TEST_EMAIL_INBOX_URL`) }).then((response) => {
Expand Down

0 comments on commit 161f711

Please sign in to comment.