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

[FE] feat: 스토리북 배포 #169

[FE] feat: 스토리북 배포

[FE] feat: 스토리북 배포 #169

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 }}