Skip to content

[C] add postinstall back #5

[C] add postinstall back

[C] add postinstall back #5

Workflow file for this run

# Workflow name

Check failure on line 1 in .github/workflows/main-merge.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/main-merge.yaml

Invalid workflow file

`merge` is not a valid event name
name: Build and Publish Storybook to GitHub Pages
on:
# Event for the workflow to run on
merge:
branches:
- "main" # Replace with the branch you want to deploy from
permissions:
contents: read
pages: write
id-token: write
# List of jobs
jobs:
deploy:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.9]
# Job steps
steps:
# Manual Checkout
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- uses: bitovi/[email protected]
with:
install_command: yarn --frozen-lockfile # default: npm ci
build_command: yarn build-storybook:production # default: npm run build-storybook
path: storybook-static # default: dist/storybook
checkout: false # default: true