구글 애널리틱스 삽입 (#641) #330
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 |