https://github.com/9a8ri3l/changeset-tests
https://github.com/9a8ri3l/changeset-tests
changesets configuration github-actions npm npm-package publish-repo yml-files
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/9a8ri3l/changeset-tests
- Owner: 9a8ri3L
- Created: 2024-02-10T12:26:08.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-11T10:01:55.000Z (about 2 years ago)
- Last Synced: 2025-04-08T10:40:52.416Z (11 months ago)
- Topics: changesets, configuration, github-actions, npm, npm-package, publish-repo, yml-files
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/@g-tests/changeset-tests
- Size: 46.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
## @changesets/cli Github action.
### Standard public package template.
#### @see [Publish](https://github.com/9a8ri3L/changeset-tests/blob/main/.github/workflows/publish.yml)
- Make sure that the [NPM_TOKEN](https://docs.npmjs.com/creating-and-viewing-access-tokens) is not expired.
- Make sure that "Allow GitHub Actions to create and approve pull requests" is checked.
- Make sure that [package.json](https://github.com/9a8ri3L/changeset-tests/blob/main/package.json) file has `"publishConfig": {
"access": "public"
}`, and remove `"private": "false"` if present.
- Make sure that [.changeset/config.json](https://github.com/9a8ri3L/changeset-tests/blob/main/.changeset/config.json) file has `"access": "public"`
- Make sure that the installed version of your package manager is the same in [.github/workflows YML files](https://github.com/9a8ri3L/changeset-tests/tree/main/.github/workflows) with the used version in your local.
- Run `pnpm changeset` every time you need to update your package version, before commiting and pushing to Github repository and [changesets/action](https://github.com/changesets/action) will handle version.
- Every PR is opened by `Chengesets release Github action` will create a head branch `changeset-release/main`, which can be deleted automatically after merge by activate "Automatically delete head branches" in the repo general settings.
- Every mergrd PR has been opened by `Changesets release Github action` will create a tag/release/publish to [NPM registry](https://www.npmjs.com/)
@see [changeset-tests NPM package](https://www.npmjs.com/package/@g-tests/changeset-tests)
That's a standard configuration.
For more information, visit [Changesets](https://github.com/changesets/changesets)