Skip to content

Commit

Permalink
Cypress workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
xoscar committed Dec 18, 2023
1 parent 592d4a9 commit ca2dd8c
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Cypress Tests

on:
# allows the manual trigger
workflow_dispatch:

schedule:
- cron: '0 */1 * * *' # every hour

jobs:
cypress-run:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
# Install NPM dependencies, cache them correctly
# and run all Cypress tests
- name: Cypress run
uses: cypress-io/github-action@v6
env:
TRACETEST_API_TOKEN: ${{secrets.TRACETEST_TOKEN}}
POKESHOP_DEMO_URL: ${{secrets.POKESHOP_DEMO_URL}}

0 comments on commit ca2dd8c

Please sign in to comment.