Skip to content

Commit

Permalink
Remove cache, install, and build steps
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonlenz committed Mar 22, 2024
1 parent db3dba5 commit c632803
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions .github/workflows/deploy-storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,25 +26,7 @@ jobs:
uses: actions/setup-node@v3
with:
node-version-file: '.node-version'

- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"

- uses: actions/cache@v1
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies
if: steps.yarn-cache.outputs.cache-hit != 'true'
run: yarn install

- name: Build Storybook
run: yarn build-storybook
cache: 'yarn'

- name: Deploy 🚀
uses: bitovi/[email protected]
Expand Down

0 comments on commit c632803

Please sign in to comment.