From 66436ae325fc00b576e73bf0ad31b3ca391911df Mon Sep 17 00:00:00 2001 From: Jake Strawn Date: Sun, 25 Feb 2024 11:27:34 -0500 Subject: [PATCH] chore(storybook): Fixing cwd for storybook action. --- .github/workflows/storybook.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/storybook.yml b/.github/workflows/storybook.yml index 765ea2f..9127c3c 100644 --- a/.github/workflows/storybook.yml +++ b/.github/workflows/storybook.yml @@ -30,13 +30,16 @@ jobs: - name: Checkout Codebase uses: actions/checkout@v4 + - name: Move to correct directory + run: cd packages/storybook + - name: Use local Yarn version run: echo "$(pwd)/.yarn/releases" >> $GITHUB_PATH # @see https://github.com/marketplace/actions/setup-node-js-environment - uses: actions/setup-node@v4 with: - node-version-file: ".nvmrc" + node-version-file: "packages/storybook/.nvmrc" cache: "yarn" cache-dependency-path: | **/yarn.lock @@ -64,6 +67,9 @@ jobs: - name: Checkout Codebase uses: actions/checkout@v4 + - name: Move to correct directory + run: cd packages/storybook + - name: Use local Yarn version run: echo "$(pwd)/.yarn/releases" >> $GITHUB_PATH