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
Copy file name to clipboardExpand all lines: .github/workflows/build-storybook-demo.yml
+17-8Lines changed: 17 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -9,20 +9,29 @@ jobs:
9
9
build:
10
10
runs-on: ubuntu-latest
11
11
steps:
12
-
- uses: actions/checkout@v3
13
-
- uses: actions/setup-node@v3
12
+
- name: Checkout repository
13
+
uses: actions/checkout@v4
14
+
15
+
- name: Setup Node.js
16
+
uses: actions/setup-node@v4
14
17
with:
15
-
node-version: '20'
16
-
- uses: pnpm/action-setup@v4
18
+
node-version: 24
19
+
cache: 'pnpm'
20
+
21
+
- name: Setup pnpm
22
+
uses: pnpm/action-setup@v4
17
23
with:
18
-
version: 9
19
-
- 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.
24
+
version: latest
25
+
run_install: false
26
+
27
+
- name: Install and Build Storybook
20
28
run: |
21
29
pnpm install --frozen-lockfile
22
30
pnpm run build-storybook
23
31
24
32
- name: Deploy 🚀
25
33
uses: JamesIves/github-pages-deploy-action@v4
26
34
with:
27
-
branch: gh-pages # The branch the action should deploy to.
28
-
folder: docs # The folder the action should deploy.
0 commit comments