Skip to content

Commit

Permalink
chore(storybook): Fixing cwd for storybook action.
Browse files Browse the repository at this point in the history
  • Loading branch information
himerus committed Feb 25, 2024
1 parent 862e3f2 commit 66436ae
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 66436ae

Please sign in to comment.