ci: update actions/upload-artifact action to v4 (#644) #2311
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: Storybook Build | |
on: | |
push: | |
branches: [master] | |
paths-ignore: | |
- '**.md' | |
pull_request: | |
branches: [master] | |
paths-ignore: | |
- '**.md' | |
jobs: | |
storybook-build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/setup-js-env | |
- name: Build Storybook | |
run: pnpm design:build-doc | |
- name: upload storybook build artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: storybook | |
path: packages/design/storybook-static |