Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,35 +4,34 @@ name: Build and Publish Storybook to GitHub Pages
on:
push:
branches:
- "main"
- "main"

permissions:
contents: read
pages: write
id-token: write


jobs:
deploy:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v3
with:
node-version: "18.x"
node-version: "22.x"

- name: Install and Build Storybook
run: |
cd apps/storybook && npm install
npm run build-storybook

- name: 'upload'
- name: "upload"
uses: actions/upload-pages-artifact@v3
with:
with:
path: "apps/storybook/storybook-static"

- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: 20.8.1
node-version: 22.9.0
registry-url: https://registry.npmjs.org/
- run: |
cd packages/rhf-kit-mui && npm ci
Expand Down
Loading