Disable storybook, for now
This commit is contained in:
1 parent
9d704eaaa7
commit
39ae948f24
40 files changed
+14
-1885
No files matched your search
+14
-14
@@ -130,18 +130,18 @@ jobs:
|
|||||||
- uses: actions/setup-node@v3.6.0
|
- uses: actions/setup-node@v3.6.0
|
||||||
- run: npx -y -p gh-pages@3.0.0 gh-pages -u "github-actions-bot <actions@github.com>" -d build
|
- run: npx -y -p gh-pages@3.0.0 gh-pages -u "github-actions-bot <actions@github.com>" -d build
|
||||||
|
|
||||||
github_pages_storybook:
|
# github_pages_storybook:
|
||||||
runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
needs:
|
# needs:
|
||||||
- create_github_release
|
# - create_github_release
|
||||||
steps:
|
# steps:
|
||||||
- uses: actions/checkout@v2
|
# - uses: actions/checkout@v2
|
||||||
- uses: actions/setup-node@v3.6.0
|
# - uses: actions/setup-node@v3.6.0
|
||||||
- uses: bahmutov/npm-install@v1
|
# - uses: bahmutov/npm-install@v1
|
||||||
- run: yarn build-keycloak-theme # Only for the assets in public
|
# - run: yarn build-keycloak-theme # Only for the assets in public
|
||||||
- run: yarn build-storybook
|
# - run: yarn build-storybook
|
||||||
- run: git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${{github.repository}}.git
|
# - run: git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${{github.repository}}.git
|
||||||
env:
|
# env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- run: npx -y -p gh-pages@3.0.0 gh-pages -u "github-actions-bot <actions@github.com>" -d storybook-static --dest storybook --add
|
# - run: npx -y -p gh-pages@3.0.0 gh-pages -u "github-actions-bot <actions@github.com>" -d storybook-static --dest storybook --add
|
||||||
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
import type {ComponentMeta} from '@storybook/react';
|
|
||||||
import KcApp from './KcApp';
|
|
||||||
import {template} from '../../.storybook/util'
|
|
||||||
|
|
||||||
const bind = template('my-extra-page-1.ftl');
|
|
||||||
|
|
||||||
export default {
|
|
||||||
title: 'Theme/Template',
|
|
||||||
component: KcApp,
|
|
||||||
parameters: {
|
|
||||||
layout: 'fullscreen',
|
|
||||||
},
|
|
||||||
} as ComponentMeta<typeof KcApp>;
|
|
||||||
|
|
||||||
|
|
||||||
export const Default = bind({})
|
|
||||||
export const InFrench = bind({locale: {currentLanguageTag: 'fr'}})
|
|
||||||
export const RealmDisplayNameIsHtml = bind({
|
|
||||||
realm: {
|
|
||||||
displayNameHtml: '<marquee>my realm</marquee>'
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
export const NoInternationalization = bind({
|
|
||||||
realm: {
|
|
||||||
internationalizationEnabled: false,
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
export const WithGlobalError = bind({
|
|
||||||
message: {type: "error", summary: "This is an error"}
|
|
||||||
})
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
import {ComponentMeta} from '@storybook/react';
|
|
||||||
import KcApp from '../KcApp';
|
|
||||||
import {template} from '../../../.storybook/util'
|
|
||||||
|
|
||||||
const bind = template('error.ftl');
|
|
||||||
|
|
||||||
export default {
|
|
||||||
kind: 'Page',
|
|
||||||
title: 'Theme/Pages/Notification/Error',
|
|
||||||
component: KcApp,
|
|
||||||
parameters: {
|
|
||||||
layout: 'fullscreen',
|
|
||||||
},
|
|
||||||
} as ComponentMeta<typeof KcApp>;
|
|
||||||
|
|
||||||
export const Default = bind({message: {type: 'error', summary: 'Something went wrong'}})
|
|
||||||
Loaded 3 of 40 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user