Skip to content

Commit

Permalink
Cypress Github action
Browse files Browse the repository at this point in the history
  • Loading branch information
farisashai committed Jan 7, 2024
1 parent 50514c3 commit f44d5d7
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: E2E Cypress tests
on: push
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:
NEXT_PUBLIC_ACM_API_URL: https://testing.api.acmucsd.com/api/v2
with:
start: yarn dev
wait-on: 'http://localhost:3000'
install-command: yarn install

0 comments on commit f44d5d7

Please sign in to comment.