SP-668 페이지별 성능 측정 tool(LightHouse) 자동화 환경 구축 #464
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: Deploy Storybook | |
on: | |
push: | |
branches: | |
- dev | |
pull_request: | |
workflow_dispatch: | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
environment: | |
name: github-pages | |
url: ${{ steps.build-publish.outputs.page_url }} | |
steps: | |
- id: build-publish | |
uses: bitovi/[email protected] | |
with: | |
path: storybook-static | |
install_command: yarn install | |
build_command: yarn run build-storybook |