Skip to content

Commit 8606a34

Browse files
authored
Merge pull request #2 from yunrap/feature/test
Feature/test
2 parents d360f2d + 9a76472 commit 8606a34

File tree

7 files changed

+549
-38
lines changed

7 files changed

+549
-38
lines changed

.changeset/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Changesets
2+
3+
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
4+
with multi-package repos, or single-package repos to help you version and publish your code. You can
5+
find the full documentation for it [in our repository](https://github.com/changesets/changesets)
6+
7+
We have a quick list of common questions to get you started engaging with this project in
8+
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)

.changeset/config.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
3+
"changelog": "@changesets/cli/changelog",
4+
"commit": false,
5+
"fixed": [],
6+
"linked": [],
7+
"access": "public",
8+
"baseBranch": "main",
9+
"updateInternalDependencies": "patch",
10+
"ignore": []
11+
}

.changeset/lazy-kids-report.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"react-image": patch
3+
---
4+
5+
changeset와 테크스코드가 추가되었습니다.

.github/workflows/release.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Changesets
2+
on:
3+
push:
4+
branches:
5+
- main
6+
7+
concurrency: ${{ github.workflow }}-${{ github.ref }}
8+
9+
jobs:
10+
release:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- uses: pnpm/action-setup@v4
15+
- name: Use Node.js
16+
uses: actions/setup-node@v4
17+
with:
18+
node-version: '20'
19+
cache: 'pnpm'
20+
21+
- name: Install dependencies
22+
run: pnpm install --frozen-lockfile
23+
24+
- name: build
25+
run: pnpm run build
26+
27+
- name: Create and publish versions
28+
uses: changesets/action@v1
29+
with:
30+
publish: pnpm release
31+
commit: '🚀 update versions'
32+
title: '📦 update versions'
33+
version: pnpm changeset-version
34+
env:
35+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,17 +69,20 @@
6969
"scripts": {
7070
"build": "pnpm run clean && vite build --config vite.config.mts && pnpm run build:dts",
7171
"build:dts": "tsup --config tsup.config.mts",
72+
"release": "changeset publish",
7273
"clean": "rm -rf dist",
7374
"test": "vitest run",
7475
"lint": "eslint '**/*.{js,jsx,ts,tsx}'",
7576
"lint:fix": "eslint '**/*.{js,jsx,ts,tsx}' --fix",
7677
"prettier": "prettier --check '**/*.{ts,tsx,js,mjs,cjs,jsx,json,yaml,yml}'",
7778
"prettier:fix": "prettier --write '**/*.{ts,tsx,js,mjs,cjs,jsx,json,yaml,yml}'",
7879
"md": "markdownlint '*.md'",
79-
"md:fix": "markdownlint --fix '*.md'"
80+
"md:fix": "markdownlint --fix '*.md'",
81+
"changeset-version": "changeset version && pnpm run md:fix"
8082
},
8183
"devDependencies": {
8284
"@babel/plugin-transform-runtime": "^7.28.0",
85+
"@changesets/cli": "^2.29.5",
8386
"@naverpay/editorconfig": "^0.0.4",
8487
"@naverpay/eslint-config": "^2.3.0",
8588
"@naverpay/markdown-lint": "^0.0.3",

0 commit comments

Comments
 (0)