Skip to content

feat: 네비게이션 바 구현 #29

feat: 네비게이션 바 구현

feat: 네비게이션 바 구현 #29

Workflow file for this run

name: Frontend Build Test
on:
push:
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: npm build
run: npm run build
- 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()