Skip to content

Support Rhode Island #464

Support Rhode Island

Support Rhode Island #464

Workflow file for this run

name: Storybook
on:
pull_request:
branches: [main]
push:
branches: [main]
workflow_dispatch:
permissions:
contents: read
concurrency:
group: pages
cancel-in-progress: false
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0
persist-credentials: false
- name: Setup PNPM
uses: pnpm/action-setup@v6.0.8
- name: Setup Node
uses: actions/setup-node@v6
with:
node-version: "24.x"
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build Storybook
run: pnpm storybook:build
- name: Upload Pages artifact
if: github.event_name != 'pull_request'
uses: actions/upload-pages-artifact@v5
with:
path: storybook-static
deploy:
name: Deploy
needs: build
if: github.event_name != 'pull_request'
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deploy.outputs.page_url }}
steps:
- id: deploy
name: Deploy to GitHub Pages
uses: actions/deploy-pages@v5
with:
token: ${{ github.token }}