Feat(client): μμΉ νμ΄μ§ νΌλΈλ¦¬μ± #151
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: Build | |
env: | |
HUSKY: 0 | |
on: | |
pull_request: | |
branches: | |
- develop | |
- main | |
push: | |
branches: | |
- develop | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
# 1. λ ν¬μ§ν 리 체ν¬μμ | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
# 2. Pnpm μ€μ | |
- name: Setup Pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
version: 9.12.0 | |
run_install: false | |
# 3. Node.js νκ²½ μ€μ | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
cache: 'pnpm' | |
cache-dependency-path: 'pnpm-lock.yaml' | |
# 4. μμ‘΄μ± μ€μΉ | |
- name: Install dependencies | |
run: pnpm install --frozen-lockfile | |
# 5. λΉλ μ€ν | |
- name: Build project | |
run: | | |
cd apps/client | |
pnpm build |