Skip to content

feat: 레이아웃 변경 #422

feat: 레이아웃 변경

feat: 레이아웃 변경 #422

Workflow file for this run

name: Frontend Build Test
on:
push:
branches:
- develop
- main
paths: 'frontend/**'
pull_request:
branches:
- develop
- main
paths: 'frontend/**'
defaults:
run:
working-directory: frontend
permissions:
pull-requests: write
checks: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up Repository
uses: actions/checkout@v3
- name: Set up Node 18.16.0
uses: actions/setup-node@v3
with:
node-version: 18.16.0
- name: Cache node_modules
id: cache
uses: actions/cache@v3
with:
path: '**/node_modules'
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: npm clean install
run: npm ci
if: steps.cache.outputs.cache-hit != 'true'
- name: submodule update
run: git submodule update --remote --merge
- name: npm build dev
run: npm run build-dev
- name: storyBook build
run: npm run build-storybook
if: always()
- name: notificate on slack if build failed
uses: 8398a7/action-slack@v3
with:
status: ${{ job.status }}
author_name: 프론트엔드 빌드 결과 알림
fields: repo, message, commit, author, action, eventName, ref, workflow, job, took
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL_FRONTEND }}
if: always()