프론트엔드 빌드 속도 개선 및 번들 사이즈 최적화 #365
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 | |
on: | |
push: | |
branches: | |
- dev/FE | |
paths: "frontend/**" | |
pull_request: | |
branches: | |
- dev/FE | |
paths: "frontend/**" | |
defaults: | |
run: | |
working-directory: ./frontend | |
jobs: | |
Cypress-Test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout GitCode | |
uses: actions/checkout@v3 | |
- name: Setup node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: "npm" | |
cache-dependency-path: ./frontend/package-lock.json | |
- name: install dependencies | |
run: npm install | |
- name: Cypress run | |
uses: cypress-io/github-action@v6 | |
with: | |
working-directory: ./frontend | |
start: npm run dev |