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

[FE] test: cypressλ₯Ό μ΄μš©ν•œ e2e ν…ŒμŠ€νŠΈ, CI μΆ”κ°€ #3

[FE] test: cypressλ₯Ό μ΄μš©ν•œ e2e ν…ŒμŠ€νŠΈ, CI μΆ”κ°€

[FE] test: cypressλ₯Ό μ΄μš©ν•œ e2e ν…ŒμŠ€νŠΈ, CI μΆ”κ°€ #3

Workflow file for this run

name: Cypress Tests
on:
pull_request:
branches:
- develop
paths:
- frontend/**
defaults:
run:
working-directory: ./frontend
jobs:
cypress-run:
if: contains(github.event.pull_request.labels.*.name, 'frontend')
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Create .env.development file
run: |
touch .env.development
echo "BASE_URL=${{secrets.BASE_URL_DEVELOPMENT}}" >> .env.development
- name: Cypress run
uses: cypress-io/github-action@v5
with:
start: yarn start
wait-on: 'http://localhost:3000'
browser: chrome
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Check failure on line 34 in .github/workflows/fe-test-e2e.yml

View workflow run for this annotation

GitHub Actions / Cypress Tests

Invalid workflow file

The workflow is not valid. .github/workflows/fe-test-e2e.yml (Line: 34, Col: 13): A mapping was not expected