Skip to content

Merge pull request #3898 from carbon-design-system/dependabot/npm_and… #39

Merge pull request #3898 from carbon-design-system/dependabot/npm_and…

Merge pull request #3898 from carbon-design-system/dependabot/npm_and… #39

Workflow file for this run

name: Deploy
on:
push:
branches:
- 'next'
permissions:
contents: read
pages: write
id-token: write
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.build-publish.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '16.x'
- name: Cache dependencies
uses: actions/cache@v4
with:
path: |
node_modules
*/*/node_modules
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
- id: build-publish
uses: bitovi/[email protected]
with:
path: packages/react/storybook-static
install_command: yarn --frozen-lockfile
build_command: yarn build:storybook