Skip to content

pretendard 폰트 추가 및 기본 폰트 설정 #14

pretendard 폰트 추가 및 기본 폰트 설정

pretendard 폰트 추가 및 기본 폰트 설정 #14

Workflow file for this run

name: frontend-integration
on:
pull_request:
branches:
- develop-frontend
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
working-directory: ./frontend
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: develop-frontend
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20.15.0'
- name: Create .env file
run: |
echo "BASE_URL=${{ secrets.BASE_URL }}" > .env
- name: Install Dependencies
run: npm install --frozen-lockfile
- name: Run tests
run: npm run test
- name: Run linter
run: npm run lint
- name: Build static file
run: npm run build
- name: Build Docker image
run: |
docker buildx build ./ --platform=linux/arm64 -t ${{ secrets.DOCKER_USERNAME }}/mouda-fe:latest
- name: Log in to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Push Docker image to DockerHub
run: docker push ${{ secrets.DOCKER_USERNAME }}/mouda-fe:latest