-
-
Notifications
You must be signed in to change notification settings - Fork 10.1k
Adjust release GitHub workflow for v8 #33843
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
faae460
Adjust release GitHub workflow for v8
valentinpalkovic 7db6b80
add missing action
yannbf 1b0bb68
add node setup action
yannbf 5ad86ec
Merge branch 'v8-release-fixes' of github.com:storybookjs/storybook i…
yannbf 6577c95
cleanup
yannbf 9fcd598
add missing env
yannbf 79e5bb5
Fix publish.yml
valentinpalkovic 1cb5db5
Update npmrc
valentinpalkovic d31bb8f
Update yarn
valentinpalkovic 6c2ca00
Set new yarn version
valentinpalkovic df25ab6
Retrigger canary
valentinpalkovic b5b9b38
Retrigger canary
valentinpalkovic 438a474
bump & sync yarn versions
ndelangen 8c647f3
bump node version and activate corepack
ndelangen 7dfaa12
ran `npx update-browserslist-db@latest`
ndelangen a211b96
Update versions to be compatible with Storybook 8
yannbf 99db7e4
adjust experimental nextjs vite sandbox to use vite 6
yannbf 93b04b9
Remove IS_PRERELEASE parameter from GitHub Actions publish workflow
valentinpalkovic d6419e0
Update publish workflow to include CHANGELOG entry for new version
valentinpalkovic 010d8c2
Bump deferred version
valentinpalkovic 978b552
Update CHANGELOG for version 8.6.16: No-op release with no changes.
valentinpalkovic File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| name: 'Setup Node.js and Install Dependencies' | ||
| description: 'Sets up Node.js, caches dependencies, and installs packages for Storybook' | ||
|
|
||
| inputs: | ||
| install-code-deps: | ||
| description: 'Whether to install code dependencies in addition to script dependencies' | ||
| required: false | ||
| default: 'false' | ||
|
|
||
| runs: | ||
| using: 'composite' | ||
| steps: | ||
| - name: Setup Node.js | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version-file: '.nvmrc' | ||
|
|
||
| - name: Update npm to latest | ||
| shell: bash | ||
| run: npm install -g npm@latest | ||
|
|
||
| - name: Cache dependencies | ||
| uses: actions/cache@v4 | ||
| with: | ||
| path: | | ||
| ~/.yarn/berry/cache | ||
| key: yarn-v1-${{ hashFiles('scripts/yarn.lock') }}-${{ hashFiles('code/yarn.lock') }} | ||
| restore-keys: | | ||
| yarn-v1-${{ hashFiles('scripts/yarn.lock') }}-${{ hashFiles('code/yarn.lock') }} | ||
| yarn-v1-${{ hashFiles('scripts/yarn.lock') }} | ||
| yarn-v1 | ||
|
|
||
| - name: Install script dependencies | ||
| shell: bash | ||
| working-directory: scripts | ||
| run: yarn install | ||
|
|
||
| - name: Install code dependencies | ||
| if: inputs.install-code-deps == 'true' | ||
| shell: bash | ||
| working-directory: code | ||
| run: yarn install | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| # Releasing previous major release | ||
|
|
||
| ## Preparation | ||
|
|
||
| 1. `git checkout v8` | ||
| 2. `git pull` | ||
| 3. `git checkout -b hotfix/v<next-patch-release-version>` | ||
| 4. Apply necessary hotfixes | ||
| 5. `cd scripts && yarn release:version --deferred --release-type patch --verbose && cd .. && git add . && git commit -m "Bump deferred version"` | ||
| 6. Add a new entry for the new version to the `CHANGELOG.md` file | ||
| 7. Trigger canary release via dispatching the workflow for `publish-canary` | ||
| 8. Test the canary release | ||
| 9. Merge `hotfix/v<next-patch-release-version>` into `v8` | ||
| 10. Observe the `publish-normal` job |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Redundant restore-key on line 29.
The first restore-key is identical to the primary
key. Restore-keys are only consulted when the primary key doesn't match exactly, so this entry is never used.Proposed fix
key: yarn-v1-${{ hashFiles('scripts/yarn.lock') }}-${{ hashFiles('code/yarn.lock') }} restore-keys: | - yarn-v1-${{ hashFiles('scripts/yarn.lock') }}-${{ hashFiles('code/yarn.lock') }} yarn-v1-${{ hashFiles('scripts/yarn.lock') }} yarn-v1📝 Committable suggestion
🤖 Prompt for AI Agents