Skip to content

Commit 8f0ba05

Browse files
committed
ci: fix npm-publish workflow and update README
- Fix format check command in npm-publish workflow - Remove redundant check step that would modify files - Update README with clearer script descriptions - Simplify release instructions
1 parent 19d832d commit 8f0ba05

File tree

2 files changed

+8
-21
lines changed

2 files changed

+8
-21
lines changed

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,11 @@ jobs:
3434
run: pnpm run lint
3535

3636
- name: Run format check
37-
run: pnpm run format --check
37+
run: pnpm run format:check
3838

3939
- name: Build package
4040
run: pnpm run build
4141

42-
- name: Run tests
43-
run: pnpm run check
44-
4542
- name: Publish to npm
4643
run: pnpm publish --access public
4744
env:

README.md

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -94,28 +94,18 @@ effect-audio /path/to/music --recursive --jobs 20 --output-dir /path/to/converte
9494
- `pnpm run build`: TypeScriptをビルド
9595
- `pnpm run start`: ビルド済みファイルを実行
9696
- `pnpm run lint`: リンターを実行
97-
- `pnpm run format`: フォーマッターを実行
98-
- `pnpm run check`: リンターとフォーマッターを実行
97+
- `pnpm run format`: フォーマッターを実行(自動修正)
98+
- `pnpm run check`: リンターとフォーマッターを実行(自動修正)
9999
- `pnpm run publish:npm`: npmにパッケージを公開
100100

101101
### リリース
102102

103-
このプロジェクトはGitHub Actionsを使用して自動的にnpmに公開されます:
104-
105-
1. バージョンを更新:
106-
```bash
107-
pnpm version patch # または minor, major
108-
```
109-
110-
2. 変更をプッシュ:
111-
```bash
112-
git push origin main --tags
113-
```
103+
```bash
104+
pnpm version patch # または minor, major
105+
git push origin main --tags
106+
```
114107

115-
3. タグがプッシュされると、自動的に以下が実行されます:
116-
- npmへのパッケージ公開
117-
- GitHub Releaseの自動作成
118-
- リリースノートの自動生成
108+
タグプッシュで自動的にnpm公開とGitHub Releaseが作成されます。
119109

120110
### 技術スタック
121111

0 commit comments

Comments
 (0)