diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml new file mode 100644 index 0000000..4956016 --- /dev/null +++ b/.github/workflows/cypress.yml @@ -0,0 +1,19 @@ +name: Cypress + +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: Install yarn + run: yarn install --frozen-lockfile + - name: Cypress run + uses: cypress-io/github-action@v6 + with: + build: yarn + start: yarn dev