mirror of
https://github.com/voson-wang/toon.git
synced 2026-01-29 23:34:10 +08:00
fix: add README files to published packages
This commit is contained in:
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@@ -31,6 +31,12 @@ jobs:
|
||||
- run: pnpm install
|
||||
- run: pnpm run build
|
||||
|
||||
- name: Copy READMEs for npm packages
|
||||
run: |
|
||||
cp README.md packages/toon/README.md
|
||||
echo "✓ Copied root README to @toon-format/toon"
|
||||
echo "✓ CLI package uses its own README"
|
||||
|
||||
- name: Publish to npm
|
||||
run: npm install -g npm@latest && pnpm -r publish --access public --no-git-checks
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user