Skip to content

Merge pull request #6960 from Sage/resize-observer-fix #3384

Merge pull request #6960 from Sage/resize-observer-fix

Merge pull request #6960 from Sage/resize-observer-fix #3384

Workflow file for this run

name: Storybook
on:
push:
# These are the branches that we expect to publish from
branches:
- master
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ">=20.9.0 20"
- run: npm ci
- run: NODE_ENV=production IGNORE_TESTS=true STORYBOOK_VIEW_MODE=docs npm run build-storybook
- uses: aws-actions/configure-aws-credentials@v2
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1
- run: aws s3 sync ./storybook-static/ s3://carbon.sage.com --delete --exclude "v/*" --exclude "metadata/*"