[16714][fleet] Change to only show workspace selector on list screen #16277
Workflow file for this run
This file contains hidden or 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 | |
| on: | |
| push: | |
| paths: | |
| - 'storybook/**/*' | |
| - 'pkg/rancher-components/**/*' | |
| - 'shell/components/**/*' | |
| - 'shell/assets/**/*' | |
| - 'shell/utils/**/*' | |
| - 'shell/directives/**/*' | |
| - 'shell/config/**/*' | |
| - 'shell/composables/**/*' | |
| branches: | |
| - master | |
| pull_request: | |
| paths: | |
| - 'storybook/**/*' | |
| - 'pkg/rancher-components/**/*' | |
| - 'shell/components/**/*' | |
| - 'shell/assets/**/*' | |
| - 'shell/utils/**/*' | |
| - 'shell/directives/**/*' | |
| - 'shell/config/**/*' | |
| - 'shell/composables/**/*' | |
| branches: | |
| - master | |
| jobs: | |
| storybook: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| - name: Use Node.js | |
| uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6 | |
| 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'}} | |
| env: | |
| STORYBOOK_TOKEN: ${{ secrets.STORYBOOK_TOKEN }} | |
| run: .github/workflows/scripts/publish-storybook |