[FE][Feature] #280 : HostView, GuestView ๊ตฌํ ๋ฐ ์ ๋ฐ์ดํธ #184
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: CI - Lint, Build, and Test with pnpm | |
on: | |
pull_request: | |
branches: | |
- '*' # ๋ชจ๋ ๋ธ๋์น์์ PR ์์ฑ ์ ๋์ | |
jobs: | |
lint-build-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v2 | |
- name: Setup Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 'lts/*' # ํญ์ ์ต์ ์์ ๋ฒ์ ์ Node.js ์ฌ์ฉ | |
- name: Install pnpm | |
run: npm install -g pnpm # pnpm ์ค์น | |
- name: Install Dependencies | |
run: pnpm install # pnpm์ ์ฌ์ฉํ์ฌ ์์กด์ฑ ์ค์น | |
- name: Run Linter | |
run: pnpm lint # pnpm์ ์ฌ์ฉํ์ฌ ๋ฆฐํธ ์คํ | |
continue-on-error: false # ๋ฆฐํธ ์คํจ ์ ์ํฌํ๋ก์ฐ ์คํจ๋ก ์ฒ๋ฆฌ | |
- name: Run Build | |
run: pnpm build # pnpm์ ์ฌ์ฉํ์ฌ ๋น๋ ์คํ | |
# continue-on-error: false # ๋น๋ ์คํจ ์ ์ํฌํ๋ก์ฐ ์คํจ๋ก ์ฒ๋ฆฌ | |
- name: Run Tests | |
run: pnpm test # pnpm์ ์ฌ์ฉํ์ฌ ํ ์คํธ ์คํ | |
continue-on-error: false # ํ ์คํธ ์คํจ ์ ์ํฌํ๋ก์ฐ ์คํจ๋ก ์ฒ๋ฆฌ |