Skip to content

[FEAT] 메인 페이지 게시글 아이콘 생성 #96

[FEAT] 메인 페이지 게시글 아이콘 생성

[FEAT] 메인 페이지 게시글 아이콘 생성 #96

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle
name: Build Project (for CI)
on:
push:
branches: [ "develop" ]
pull_request:
branches: [ "develop" ]
permissions:
contents: read
jobs:
build-frontend:
runs-on: ubuntu-latest
strategy:
matrix:
node: [20]
defaults:
run:
working-directory: .
steps:
- name: checkout
uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- name: Create env file
run: |
touch .env
echo NEXT_PUBLIC_API=${{ secrets.NEXT_PUBLIC_API }} >> .env
- name: Run test
run: |
npm install --force
CI='false' npm run build
env:
CI: true