Skip to content

Commit

Permalink
Simple CI attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
sophialittlejohn committed Nov 17, 2023
1 parent 0237d1d commit 820b9a2
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Synpress tests

on:
push:
branches: [cent-app/synpress-testing-setup, 'main']

jobs:
cypress-run:
runs-on: ubuntu-22.04
defaults:
run:
working-directory: tests
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Synpress run
uses: cypress-io/github-action@v6
with:
start: yarn e2e:run:ci
browser: chrome
2 changes: 1 addition & 1 deletion tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "index.js",
"type": "module",
"scripts": {
"e2e:run": "synpress run -cf synpress.config.ts",
"e2e:run": "synpress run -cf synpress.config.js",
"e2e:run:ci": "synpress run -cf synpress.config.js --headless",
"e2e:open": "synpress open -cf synpress.config.js"
},
Expand Down

0 comments on commit 820b9a2

Please sign in to comment.