You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
20
+
node-version: 24
21
+
cache: 'pnpm'
22
+
23
+
# Step 2 — Disable Corepack (MUST DO on Node 24)
24
+
- name: Disable Corepack
25
+
run: corepack disable
26
+
27
+
# Step 3 — Install pnpm manually (latest version)
28
+
- name: Install pnpm
29
+
run: npm install -g pnpm@latest
30
+
31
+
# Step 4 — Build Storybook
32
+
- name: Install and Build Storybook
20
33
run: |
21
34
pnpm install --frozen-lockfile
22
35
pnpm run build-storybook
23
36
37
+
# Step 5 — Deploy to GitHub Pages
24
38
- name: Deploy 🚀
25
39
uses: JamesIves/github-pages-deploy-action@v4
26
40
with:
27
-
branch: gh-pages # The branch the action should deploy to.
28
-
folder: docs # The folder the action should deploy.
0 commit comments