Skip to content

Restyle [Snyk] Upgrade recharts from 2.3.2 to 2.12.1 #482

Restyle [Snyk] Upgrade recharts from 2.3.2 to 2.12.1

Restyle [Snyk] Upgrade recharts from 2.3.2 to 2.12.1 #482

Workflow file for this run

name: Storybook
on:
workflow_dispatch:
push:
branches:
- main
paths:
- pages/**
- components/**
- stories/**
- .storybook/**
- package.json
pull_request:
paths:
- pages/**
- components/**
- stories/**
- .storybook/**
- package.json
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18"
cache: "npm"
- name: Setup Pages
uses: actions/configure-pages@v3
- name: install dependencies
run: npm ci
- name: run build
run: npm run build-storybook
- name: Upload artifact
if: github.event_name != 'pull_request'
uses: actions/upload-pages-artifact@v1
with:
path: './storybook-static'
# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
if: github.event_name != 'pull_request'
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1