[FE] Refactor/#593 모아보기와 단일조회페이지 분리 및 리팩토링 #214
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Frontend CI For Test Validation | |
on: | |
# pull request open과 reopen 시 실행한다. | |
pull_request: | |
branches: [main, develop-FE] | |
paths: frontend/** | |
defaults: | |
run: | |
working-directory: ./frontend | |
jobs: | |
jest_cypress: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Setup Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '18' | |
- name: Install node modules | |
run: npm install | |
- name: Run Jest test | |
run: npm run test | |
- name: Run Cypress | |
uses: cypress-io/github-action@v5 | |
with: | |
working-directory: frontend | |
start: npm run dev |