-
Notifications
You must be signed in to change notification settings - Fork 2
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
feat/#39 changeset 세팅 및 npm 배포 CI/CD 설정 #67
Merged
Merged
Changes from all commits
Commits
Show all changes
55 commits
Select commit
Hold shift + click to select a range
ddfecf8
chore: changeset 설치
ShinYoung-Kim d7aa1ae
chore: changelog 레포 설정 추가 및 access 변경
ShinYoung-Kim 0f95fed
chore: publish 명령어 생성
ShinYoung-Kim da9b456
chore: changeset github action 생성
ShinYoung-Kim 93ac761
feat: changeset 파일 생성
ShinYoung-Kim b637d29
chore/#25 husky, lint-staged 세팅 (#44)
gs0428 691dfaf
feat/#54 패키지 매니저 버전 강제하도록 설정 (#57)
ghdtjgus76 7306422
chore/#37 jest 설정 (#43)
minai621 b70cd26
feat/#12 Primitive UI codegen 세팅 (#42)
ghdtjgus76 803da60
chore: release action node 버전 변경
ShinYoung-Kim 74cab14
chore/#38 playwright 테스트 설정 (#61)
minai621 11aea23
feat/#51 공통 prettier 설정 불러오도록 설정 변경 (#56)
ghdtjgus76 375c51e
chore/#46 D-day Labeler workflow 추가 (#66)
minai621 2dbdc44
fix/#47 빌드 버그 해결 (#64)
ShinYoung-Kim c669a48
chore/#65 jest.setup.ts 설정 (#72)
minai621 30ff7e8
chore: local github action test용 secret 파일 gitignore에 추가 (#68)
ShinYoung-Kim 798ea46
feat/#48 Divider 컴포넌트 개발 (#73)
gs0428 11051d0
fix/#74 템플릿 수정 (#79)
gs0428 5af121c
docs/#75 컴포넌트 pr 템플릿 생성 (#80)
gs0428 ab93186
feat: yml 커밋 메시지 추가
ShinYoung-Kim e058602
chore: config ignore 추가
ShinYoung-Kim a5f9e1d
feat/#50 github action 워크플로우 최적화 (#90)
ghdtjgus76 8311f48
feat/#85 codegen에 e2e 테스트 코드 템플릿 생성 및 적용 (#92)
ghdtjgus76 b96c727
test/#84 Divider vrt 테스트 추가 (#91)
gs0428 56c2338
chore: changeset 설치
ShinYoung-Kim 0282834
chore: changelog 레포 설정 추가 및 access 변경
ShinYoung-Kim 87f7b2d
chore: publish 명령어 생성
ShinYoung-Kim f18ae6c
chore: changeset github action 생성
ShinYoung-Kim b4b9ab7
feat: changeset 파일 생성
ShinYoung-Kim 0700110
chore: release action node 버전 변경
ShinYoung-Kim f697357
feat: yml 커밋 메시지 추가
ShinYoung-Kim e17fa1d
chore: config ignore 추가
ShinYoung-Kim 62eb4d4
Merge branch 'feat/#39' of https://github.com/team-warrr/warrr-ui int…
ShinYoung-Kim db6f664
chore: action 파일 최적화 반영
ShinYoung-Kim 138f606
chore: name 수정
ShinYoung-Kim ef18c76
chore/#93 husky 오류 해결 (#112)
ShinYoung-Kim e9a2112
chore: changeset 설치
ShinYoung-Kim 1aa43c3
chore: changelog 레포 설정 추가 및 access 변경
ShinYoung-Kim e7ea8c8
chore: publish 명령어 생성
ShinYoung-Kim b0a82dd
chore: changeset github action 생성
ShinYoung-Kim 4f224f3
feat: changeset 파일 생성
ShinYoung-Kim f82e0e6
chore: release action node 버전 변경
ShinYoung-Kim 602ef6b
feat: yml 커밋 메시지 추가
ShinYoung-Kim 7c6892c
chore: config ignore 추가
ShinYoung-Kim b6a3d1b
chore: changeset 설치
ShinYoung-Kim 310c475
chore: publish 명령어 생성
ShinYoung-Kim 449e0a8
chore: changeset github action 생성
ShinYoung-Kim b85cc3a
chore: action 파일 최적화 반영
ShinYoung-Kim 4fb0a21
chore: name 수정
ShinYoung-Kim 41b014f
Merge branch 'feat/#39' of https://github.com/team-warrr/warrr-ui int…
ShinYoung-Kim 9cdd409
chore: 코더레빗 코드리뷰 반영
ShinYoung-Kim 5ef7913
Merge branch 'develop' into feat/#39
ShinYoung-Kim 39f47c7
fix: script " 삭제
ShinYoung-Kim 12454aa
Merge branch 'feat/#39' of https://github.com/team-warrr/warrr-ui int…
ShinYoung-Kim 3c1d665
fix: lock 파일 수정
ShinYoung-Kim File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Changesets | ||
|
||
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works | ||
with multi-package repos, or single-package repos to help you version and publish your code. You can | ||
find the full documentation for it [in our repository](https://github.com/changesets/changesets) | ||
|
||
We have a quick list of common questions to get you started engaging with this project in | ||
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
"warrr": patch | ||
"primitive": patch | ||
--- | ||
|
||
changeset 생성 실습 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"$schema": "https://unpkg.com/@changesets/config@3.0.2/schema.json", | ||
"changelog": [ | ||
"@changesets/cli/changelog", | ||
{ | ||
"repo": "team-warrr/warrr-ui" | ||
} | ||
], | ||
"commit": false, | ||
"fixed": [], | ||
"linked": [], | ||
"access": "public", | ||
"baseBranch": "main", | ||
"updateInternalDependencies": "patch", | ||
"ignore": ["primitive-docs", "themed-docs"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
name: 버전 업데이트 및 자동 배포 | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
env: | ||
CI: true | ||
|
||
jobs: | ||
version: | ||
timeout-minutes: 15 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 레포지토리 체크아웃 | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: 환경 변수 설정 | ||
id: set-env | ||
run: | | ||
chmod +x ./scripts/set-env.sh | ||
./scripts/set-env.sh | ||
|
||
- name: node.js 설정 | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ env.NODE_VERSION }} | ||
|
||
- name: pnpm 설치 | ||
uses: pnpm/action-setup@v4 | ||
with: | ||
version: ${{ env.PNPM_VERSION }} | ||
|
||
- name: npmrc 파일 생성 | ||
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc | ||
|
||
- name: pnpm 의존성 캐시 | ||
id: cache-pnpm | ||
uses: actions/cache@v4 | ||
with: | ||
path: | | ||
~/.pnpm-store | ||
node_modules | ||
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }} | ||
restore-keys: | | ||
${{ runner.os }}-pnpm- | ||
|
||
- name: 의존성 설치 | ||
run: | | ||
chmod +x ./scripts/install-dependencies.sh | ||
./scripts/install-dependencies.sh | ||
|
||
- name: 버전 업데이트 및 npm 배포 | ||
uses: changesets/action@v1 | ||
with: | ||
version: pnpm changeset version | ||
title: "chore: 버전 업데이트" | ||
commit: "chore: 버전 업데이트" | ||
publish: pnpm changeset publish | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
보안을 위해 "github.head_ref"를 환경 변수로 전달하는 것을 고려해 주세요.
인라인 스크립트에서 "github.head_ref"를 직접 사용하는 것은 잠재적으로 신뢰할 수 없는 입력이므로 보안 위험이 될 수 있습니다. 대신 환경 변수를 통해 값을 전달하는 것이 좋습니다. 자세한 내용은 GitHub Actions 보안 강화 가이드를 참조하세요.
다음과 같이 수정해 보세요:
Committable suggestion
Tools
actionlint