[FE] Refactor/#642: 북마크 및 전체보기 페이지 API 로직 수정 및 React-Query 적용 #243
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 |