Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

chore: initial cypress tests #5

chore: initial cypress tests

chore: initial cypress tests #5

Workflow file for this run

name: Cypress Tests
on:
workflow_dispatch:
push:
branches: ['main', 'next']
pull_request:
branches: ['main', 'next']
jobs:
cypress-run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
cache: yarn
cache-dependency-path: |
yarn.lock
packages/app/yarn.lock
packages/core/yarn.lock
packages/docs/yarn.lock
node-version: 18
- name: Install
run: |
yarn install --frozen-lockfile
- name: Run Cypress Tests
uses: cypress-io/github-action@v6
with:
start: yarn dev
wait-on: 'http://localhost:8080'
- uses: actions/upload-artifact@v3
if: always()
with:
name: cypress-videos
path: cypress/videos
name: cypress-screenshots

Check failure on line 43 in .github/workflows/cypress.yml

View workflow run for this annotation

GitHub Actions / Cypress Tests

Invalid workflow file

The workflow is not valid. .github/workflows/cypress.yml (Line: 43, Col: 11): 'name' is already defined .github/workflows/cypress.yml (Line: 44, Col: 11): 'path' is already defined
path: cypress/screenshots