From 02dd3a72efa7f6464939d92e14e329c207978d06 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Mon, 24 Oct 2022 12:09:11 +0800 Subject: [PATCH] Upgrade nightly to next, not future --- .github/workflows/nightly.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 1020b8e1..1e8415fd 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -29,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@future + - name: Upgrade to storybook@next run: | - npx storybook@future upgrade --prerelease --yes + npx storybook@next upgrade --prerelease --yes # TODO: This should not be necessary once @storybook/csf is properly updated - name: Fix local @storybook/csf version @@ -115,9 +115,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@future + - name: Upgrade to storybook@next run: | - npx storybook@future upgrade --prerelease --yes + npx storybook@next upgrade --prerelease --yes # TODO: This should not be necessary once @storybook/csf is properly updated - name: Fix local @storybook/csf version