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

[chore] workflow 추가 #7

Merged
merged 1 commit into from
Dec 7, 2024
Merged
Show file tree
Hide file tree
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
9 changes: 9 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
"👷 ci/cd":
- changed-files:
- any-glob-to-any-file: ".github/**/*.yml"
"✨ 기능 업데이트":
- changed-files:
- any-glob-to-any-file: ["src/*.ts", "src/*.tsx"]
"📝 게시글 업데이트":
- changed-files:
- any-glob-to-any-file: ["content/*"]
14 changes: 7 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ jobs:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
PUBLISH_BRANCH: deploy
PUBLISH_DIR: ./public
- name: Create Tag
id: changesets
uses: changesets/action@v1
with:
publish: pnpm changeset tag
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
# - name: Create Tag
# id: changesets
# uses: changesets/action@v1
# with:
# publish: pnpm changeset tag
# env:
# GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
18 changes: 18 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Pull Request Labeler

on:
- pull_request

permissions:
contents: read
pull-requests: write

jobs:
labeler:
runs-on: ubuntu-latest

steps:
- name: Labeling
uses: actions/labeler@v5
with:
sync-labels: true
26 changes: 26 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Create release
on:
push:
tags:
- "v*"

permissions:
contents: write

jobs:
release:
name: Release pushed tag
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Create release
env:
VERSION: ${{ github.ref_name }}
run: |
gh release create "$VERSION" \
--repo="$GITHUB_REPOSITORY" \
--title="${tag#v}" \
--generate-notes
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# gatsby-blog

## 1.1.0

### Minor Changes

- (Release Test) workflow 추가, 스타일 및 문서 수정

## 1.0.0

### Major Changes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ category: "회고"

하지만 자바 클래스로 된 각종 아티클을 읽으면서 이걸 리액트에 어떻게 적용할 수 있는거지?’ 라는 고민이 항상 있었다. (회사에 프론트엔드 개발자가 나와 연차가 비슷하거나 더 미만인 소수의 사람들로만 구성되어있다는 것도 답을 찾는 어려움에 한 몫 했다.)

여기엔 테오님의 아티클([https://velog.io/@teo/Javascript에서도-SOLID-원칙이-통할까#1개의-함수는-1개의-역할만-수행하자](https://velog.io/@teo/Javascript%EC%97%90%EC%84%9C%EB%8F%84-SOLID-%EC%9B%90%EC%B9%99%EC%9D%B4-%ED%86%B5%ED%95%A0%EA%B9%8C#1%EA%B0%9C%EC%9D%98-%ED%95%A8%EC%88%98%EB%8A%94-1%EA%B0%9C%EC%9D%98-%EC%97%AD%ED%95%A0%EB%A7%8C-%EC%88%98%ED%96%89%ED%95%98%EC%9E%90))이 도움이 되었다.
여기엔 [테오님의 아티클](https://velog.io/@teo/Javascript에서도-SOLID-원칙이-통할까#1개의-함수는-1개의-역할만-수행하자)이 도움이 되었다.

그 외 운좋게 시니어 개발자 분과 커피챗할 기회가 있었는데 같은 질문을 여쭈어 보았더니, 어렵게 생각하지 말고 리액트는 UI를 그리기 위한 수단일 뿐이라 생각하라고 답을 주셨다.

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "gatsby-blog",
"private": true,
"description": "A starter for a blog powered by Gatsby and Markdown",
"version": "1.0.0",
"version": "1.1.0",
"author": "suu3",
"dependencies": {
"@fontsource-variable/montserrat": "^5.0.4",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

> div {
font-weight: 700;
padding: var(--spacing-6);
padding: var(--spacing-4);
}

background-color: var(--color-theme-04);
Expand Down
Loading