Skip to content

Commit 3232ad0

Browse files
authored
[Init] github actions 세팅 (#5)
* [Init] github actions 세팅 (#5) * [Chore] pnpm setup 추가 (#5) * [Init] ci 템플릿 수정 (#5) * [Init] 오류 해결 (#5)
1 parent c90de31 commit 3232ad0

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/ci.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Build Test
2+
3+
on:
4+
push:
5+
branches: ["develop"]
6+
pull_request:
7+
branches: ["develop"]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: 🧾 Checkout Repository
15+
uses: actions/checkout@v4
16+
17+
- name: 📦 Setup pnpm
18+
uses: pnpm/action-setup@v4
19+
with:
20+
version: 9
21+
22+
- name: 🧰 Setup Node.js 20
23+
uses: actions/setup-node@v4
24+
with:
25+
node-version: 20
26+
cache: "pnpm"
27+
28+
- name: 📥 Install Dependencies
29+
run: pnpm install --frozen-lockfile
30+
31+
- name: 🛠 Run Build
32+
run: pnpm build --outDir temp-dist

0 commit comments

Comments
 (0)