mega-tail 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -69,3 +69,19 @@ npm whoami
|
|
|
69
69
|
npm version patch
|
|
70
70
|
npm publish --access public
|
|
71
71
|
```
|
|
72
|
+
|
|
73
|
+
## Automated npm Publish (GitHub Actions)
|
|
74
|
+
|
|
75
|
+
One-time setup:
|
|
76
|
+
|
|
77
|
+
1. Create an npm automation token (publish scope) in npm settings.
|
|
78
|
+
2. Add it to this repo as secret `NPM_TOKEN`.
|
|
79
|
+
|
|
80
|
+
Release flow:
|
|
81
|
+
|
|
82
|
+
```bash
|
|
83
|
+
npm version patch
|
|
84
|
+
git push origin main --follow-tags
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
Pushing a `v*` tag (for example `v0.1.1`) triggers `.github/workflows/publish.yml` and publishes that version to npm.
|