Skip to content

[FE] feat: 새로고침 및 창을 닫는 동작에 대해 경고 alert 띄우기 #519

[FE] feat: 새로고침 및 창을 닫는 동작에 대해 경고 alert 띄우기

[FE] feat: 새로고침 및 창을 닫는 동작에 대해 경고 alert 띄우기 #519

Workflow file for this run

name: Build test with Webpack
on:
pull_request:
branches:
- develop
paths:
- "frontend/**"
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "ci-group"
cancel-in-progress: false # NOTE: 기존 CI가 돌고 있는 상황에서 새 작업이 추가돼도 기존 작업 계속 수행
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout to current repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: "yarn"
cache-dependency-path: ./frontend/yarn.lock
- name: Create .env file
run: echo "API_BASE_URL=${{ secrets.API_BASE_URL }}" > ./frontend/.env
- name: Set environment file permissions
run: chmod 644 ./frontend/.env
- name: Install dependencies
run: yarn install --frozen-lockfile
working-directory: frontend
- name: Run tests
run: yarn test
working-directory: frontend
- name: Build
run: yarn build
env:
API_BASE_URL: ${{ secrets.API_BASE_URL }}
working-directory: frontend