Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI/CD 파이프라인 수정 #38

Merged
merged 1 commit into from
Aug 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions .github/workflows/dev_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,15 @@ jobs:
node-version: ['18', '16', '14'] # 노드 버전 지정! 여러 개도 가능! ['18.x', '14.x'] 요렇게

steps:
- name: Install pnpm
run: npm install -g pnpm

# build 할 코드를 가져옴 (코드 checkout - github에서 제공해주는 checkout@v3 사용)
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v3

# pnpm 세팅
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 8

# Node.js 세팅
- name: Set up Node.js ${{ matrix.node-version }}
Expand All @@ -38,7 +41,7 @@ jobs:

# dependencies 설치, test and build
- name: Install dependencies
run: pnpm ci # dependencies 설치 pnpm ci, pnpm install 모두 다 됨!
run: pnpm install # dependencies 설치

- name: Run Build
run: pnpm run build # 빌드
Expand Down
Loading