Skip to content

Commit 474c0f9

Browse files
authored
Feat: linkbrary.yml 파일 생성
1 parent 67874b3 commit 474c0f9

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/linkbrary.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Linkbrary CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main # main 브랜치에 푸시될 때 실행
7+
pull_request:
8+
branches:
9+
- develop # main 브랜치로의 PR이 생성될 때 실행
10+
11+
jobs:
12+
lint-and-build:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout code
17+
uses: actions/checkout@v3
18+
19+
- name: Set up Node.js
20+
uses: actions/setup-node@v3
21+
with:
22+
node-version: '20.15.1' # 현재 사용 중인 Node.js 버전
23+
24+
- name: Install dependencies
25+
run: npm install
26+
27+
- name: Run linter
28+
run: npm run lint
29+
30+
- name: Build project
31+
run: npm run build

0 commit comments

Comments
 (0)