Skip to content

Merge pull request #12354 from codyrancher/e2e-4 #257

Merge pull request #12354 from codyrancher/e2e-4

Merge pull request #12354 from codyrancher/e2e-4 #257

Workflow file for this run

name: storybook
env:
STORYBOOK_TOKEN: ${{ secrets.STORYBOOK_TOKEN }}
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
storybook:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Install packages
run: yarn install
- name: Build Storybook
run: |
yarn build-storybook
- name: Publish Storybook
if: ${{ github.event_name == 'push' && github.repository_owner == 'rancher'}}
run: .github/workflows/scripts/publish-storybook