Techsio/NMIT-WR maintained Storybook addons and tooling for the RsBuild/RsLib ecosystem.
Packages live in packages/ and are published independently.
This repo ships a reusable GitHub workflow for Storybook a11y checks.
Example usage from another repo:
jobs:
storybook-a11y:
uses: NMIT-WR/storybook-addons/.github/workflows/storybook-a11y.yml@storybook-a11y-workflow-v0.1.9
with:
working-directory: libs/ui
build-command: pnpm -C {{workdir}} build:storybook
storybook-static-dir: storybook-static
storybook-config-dir: .storybook
themes: '["light","dark"]'
globals-template: 'theme:{{theme}}'Notes:
- Pin
@vXto a tag or commit SHA when you publish. - Your Storybook test-runner should use
@techsio/storybook-a11y-reportersoA11Y_REPORT_*env vars are respected. - If your repo already defines
packageManagerwith pnpm, passpnpm-version: ""to avoid version conflicts. - To enable delta reports (new/resolved) similar to the baseline workflow, pass:
baseline-workflow-path: .github/workflows/storybook-a11y-baseline.yml,baseline-branch: main(or master),baseline-label: main, andbaseline-artifact-prefix: storybook-a11y-baseline.