Feature/#160 해커톤 단건 조회 페이지 구현 #55
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: front-build-test | |
on: | |
pull_request: | |
branches: [ "main" ] | |
workflow_dispatch: | |
jobs: | |
front_build_test: | |
runs-on: ubuntu-24.04 | |
timeout-minutes: 10 | |
permissions: | |
id-token: write | |
contents: read | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Dependencies | |
run: | | |
cd frontend | |
npm i | |
- name: Create .env File | |
env: | |
SECRETS: ${{ toJson(secrets) }} | |
run: | | |
cd frontend | |
touch .env && \ | |
jq -r 'to_entries|map("\(.key)=\(.value|tostring)")|.[]' <<< "$SECRETS" > .env | |
- name: Build | |
run: | | |
cd frontend | |
npm run build |