Skip to content

Release 18/12/2024 (#263) #245

Release 18/12/2024 (#263)

Release 18/12/2024 (#263) #245

name: "publish-storybook"
on:
push:
branches:
- master
jobs:
publish-storybook:
runs-on: ubuntu-latest
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Cache NPM dependencies
uses: actions/cache@v3
id: cache-dependencies
with:
path: |
**/node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}
- name: Install dependencies
if: steps.cache-dependencies.outputs.cache-hit != 'true'
run: yarn
- name: Run build tokens
run: npm run build:tokens
- name: Run build icons
run: yarn build:icons
- name: build storybook
run: yarn build:storybook
- name: Deploy
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: .build-storybook
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: ".build-storybook"