feat: add storybook [MDS-1442] #1059
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: Build | |
on: | |
push: | |
branches: [main, master] | |
pull_request: | |
branches: [main, master] | |
jobs: | |
build: | |
name: "Build docs" | |
runs-on: ubuntu-latest | |
container: | |
image: mcr.microsoft.com/playwright:v1.40.0-jammy | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Corepack enable | |
run: corepack enable | |
- name: Use [email protected] | |
run: corepack prepare [email protected] --activate | |
- name: Install dependencies | |
run: pnpm i | |
- name: Build packages | |
run: pnpm run build | |
- name: Build documentation | |
run: pnpm run doc build |