Allow users to specify that an array list is required #8822
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |