You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: workflow cleanup and release process adjustments (#2663)
### π― Goal
- [x] created a dedicated action for setting up Node environment with
own cacheing mechanism (like in `stream-chat`), this action is now used
by all existing workflows
- [x] adjusted `pr-title.yml` to use existing `@commitlint/cli` package
(used in `commit-msg` Husky hook)
- [x] adjusted how the next version is acquired - [npm
publish](https://docs.npmjs.com/cli/v10/using-npm/scripts#npm-publish)
runs `prepack` hook during which the next version is already defined
within `package.json#version` so we can grab it from there when running
build which now runs only once during the release process
- [x] changed `__STREAM_CHAT_REACT_VERSION__` to
`process.env.STREAM_CHAT_REACT_VERSION` which can be populated through
ESBuild's `define` property, dropping `esbuild-plugin-replace`,
`bundle-esm.mjs` uses this new string to replace too
- [x] removed `docs_release` from the `release.yml` (not needed anymore)
- [x] upgraded `actions/{cache,checkout,setup-node}` to v4
- [x] remove `docusaurus` and `docs` folders
0 commit comments