add workflow to run e2e tests when pushing
This commit is contained in:
17
.github/workflows/push.yml
vendored
Normal file
17
.github/workflows/push.yml
vendored
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
name: Cypress Tests
|
||||||
|
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
cypress-run:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Cypress run
|
||||||
|
uses: cypress-io/github-action@v2
|
||||||
|
with:
|
||||||
|
working-directory: frontend
|
||||||
|
command: npm run e2e:ci
|
||||||
|
|
||||||
Reference in New Issue
Block a user