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

chore: GitHub Action 스크립트를 이전한 인프라에 맞게 수정 #171

chore: GitHub Action 스크립트를 이전한 인프라에 맞게 수정

chore: GitHub Action 스크립트를 이전한 인프라에 맞게 수정 #171

Workflow file for this run

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