Skip to content

Commit

Permalink
Merge pull request #162 from storybookjs/fix/nightly
Browse files Browse the repository at this point in the history
chore: use storybook@future on nightly script [skip-ci]
  • Loading branch information
yannbf committed Aug 16, 2022
2 parents 847a1c7 + 914bec3 commit ceb3d49
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/nightly.yml
Expand Up @@ -4,6 +4,11 @@ name: Nightly checks
on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
# To test fixes on push rather than wait for the scheduling
push:
branches:
- fix/nightly

jobs:
test_storybook_prerelease:
Expand All @@ -24,9 +29,9 @@ jobs:
echo "prev_sb_version=$(yarn list @storybook/react --depth=0 2> /dev/null | grep @storybook/react | awk -F'@' '{print $3}')" >> $GITHUB_ENV
echo "prev_sb_csf_version=$(yarn list @storybook/csf --depth=0 2> /dev/null | grep @storybook/csf | awk -F'@' '{print $3}')" >> $GITHUB_ENV
- name: Upgrade to storybook@next
- name: Upgrade to storybook@future
run: |
npx storybook upgrade --prerelease
npx storybook@future upgrade --prerelease --yes
# TODO: This should not be necessary once @storybook/csf is properly updated
- name: Fix local @storybook/csf version
Expand Down

0 comments on commit ceb3d49

Please sign in to comment.