feat: 서비스 기본 구조 설정 #4
Workflow file for this run
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: [main, develop] | |
| pull_request: | |
| jobs: | |
| install: | |
| name: Install dependencies | |
| runs-on: ubuntu-latest | |
| outputs: | |
| cache-hit: ${{ steps.yarn-cache.outputs.cache-hit }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Git LFS | |
| run: | | |
| apt-get update && apt-get install -y git-lfs | |
| git lfs install | |
| git lfs pull | |
| - name: Enable Corepack | |
| run: corepack enable | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: 'yarn' | |
| - name: Install deps | |
| run: yarn install --immutable | |
| build-tuk-ui: | |
| name: Build Component Package (tuk-ui) | |
| needs: install | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: packages/tuk-ui | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Enable Corepack | |
| run: corepack enable | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| - name: Install deps | |
| run: yarn install --immutable | |
| - name: Build | |
| run: yarn build | |
| build-tuk-web: | |
| name: Build Next.js App (tuk-web) | |
| needs: install | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: apps/tuk-web | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Enable Corepack | |
| run: corepack enable | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| - name: Install deps | |
| run: yarn install --immutable | |
| - name: Build | |
| run: yarn build | |
| build-tuk-webview: | |
| name: Build Vite App (tuk-webview) | |
| needs: install | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: apps/tuk-webview | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Enable Corepack | |
| run: corepack enable | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| - name: Install deps | |
| run: yarn install --immutable | |
| - name: Build | |
| run: yarn build |