Skip to content

update cypress workflow #7

update cypress workflow

update cypress workflow #7

Workflow file for this run

name: App Workflow
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn --frozen-lockfile
- name: Run unit tests
run: yarn test
- name: Check linting
run: yarn lint
cypress-run:
needs: build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Run end-to-end tests
uses: actions/checkout@v4
uses: cypress-io/github-action@v6

Check failure on line 45 in .github/workflows/app-workflow.yaml

View workflow run for this annotation

GitHub Actions / App Workflow

Invalid workflow file

The workflow is not valid. .github/workflows/app-workflow.yaml (Line: 45, Col: 9): 'uses' is already defined
with:
config-file: cypress.config.ts
start: yarn dev