Skip to content

Bump vite from 5.3.1 to 5.4.8 (#31) #54

Bump vite from 5.3.1 to 5.4.8 (#31)

Bump vite from 5.3.1 to 5.4.8 (#31) #54

Workflow file for this run

name: gh-pages
on:
push:
branches: master
env:
NODE_VERSION: 20
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
build:
name: Build Storybook
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
cache: npm
- name: NPM Install
run: npm ci
- name: Build Storybook
run: npm run build:storybook
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./storybook-static
deploy:
name: Deploy to Github Pages
needs: build
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4