Skip to content

Commit

Permalink
ci: github actions 초기 세팅
Browse files Browse the repository at this point in the history
  • Loading branch information
hyeseon-han committed Dec 6, 2023
1 parent 45bcf4a commit f958001
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 3 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# 1 워크플로의 이름 지정
name: Production-CI/CD
# 2 워크플로가 시작될 조건 지정
on:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest # 3 실행 환경 지정
#4 실행스텝지정
steps:
- name: Checkout source code.
uses: actions/checkout@v2
- name: Check Node v
run: node -v
- name: Install Dependencies
run: yarn install --frozen-lockfile
- name: Build
run: yarn build
2 changes: 0 additions & 2 deletions README.md

This file was deleted.

4 changes: 3 additions & 1 deletion src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ export default function Home() {
<main
className={`flex min-h-screen flex-col items-center justify-between p-24 ${inter.className}`}
>
<div className="mb-32 grid text-center lg:max-w-5xl lg:w-full lg:mb-0 lg:grid-cols-4 lg:text-left"></div>
<div className="mb-32 grid text-center lg:max-w-5xl lg:w-full lg:mb-0 lg:grid-cols-4 lg:text-left">
next js
</div>
</main>
);
}

0 comments on commit f958001

Please sign in to comment.