@zolbooo/dummy-postinstall
v0.0.3
Published
Dummy npm package for lifecycle postinstall testing.
Readme
@zolbooo/dummy-postinstall
Dummy npm package configured for npm publish tests.
Behavior
On install, it runs postinstall.js and writes a file named pwned to the install command's working directory (INIT_CWD, falling back to process.cwd()).
Publish to npm with GitHub Actions
- Push a version tag like
v0.0.1. - Add repository secret
NPM_TOKEN(an npm access token with publish rights). - GitHub Action
.github/workflows/publish.ymlrunsnpm publish.
Make sure the package name is available on npm and the scope is configured in npm.
