Merge pull request #227 from sgdevcamp2025/fe/dev/feat_friendApi/#202 #113
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: CI | |
on: | |
push: | |
paths: | |
- "src/frontend/**" | |
workflow_dispatch: | |
jobs: | |
frontend-ci: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
submodules: false | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
version: 10 | |
- name: Setup Node.js 18.x | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18.x | |
cache: "pnpm" | |
cache-dependency-path: src/frontend/pnpm-lock.yaml | |
- name: Install dependencies | |
run: pnpm install --frozen-lockfile | |
working-directory: src/frontend | |
- name: Run Lint | |
run: pnpm run lint | |
working-directory: src/frontend | |
- name: Run Build | |
run: pnpm run build | |
working-directory: src/frontend |