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
+9-18Lines changed: 9 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -9,29 +9,20 @@ jobs:
9
9
build:
10
10
runs-on: ubuntu-latest
11
11
steps:
12
-
- name: Checkout repository
13
-
uses: actions/checkout@v4
14
-
15
-
- name: Setup Node.js
16
-
uses: actions/setup-node@v4
12
+
- uses: actions/checkout@v3
13
+
- uses: actions/setup-node@v3
17
14
with:
18
-
node-version: 24
19
-
cache: 'pnpm'
20
-
21
-
# Install pnpm manually & force-add to PATH
22
-
- name: Install pnpm
23
-
run: |
24
-
npm install -g pnpm@9
25
-
echo "$(npm root -g)/pnpm/bin" >> $GITHUB_PATH
26
-
27
-
- name: Install and Build Storybook
15
+
node-version: '20'
16
+
- uses: pnpm/action-setup@v4
17
+
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.
28
20
run: |
29
21
pnpm install --frozen-lockfile
30
22
pnpm run build-storybook
31
23
32
24
- name: Deploy 🚀
33
25
uses: JamesIves/github-pages-deploy-action@v4
34
26
with:
35
-
branch: gh-pages
36
-
folder: docs
37
-
clean: true
27
+
branch: gh-pages # The branch the action should deploy to.
28
+
folder: docs # The folder the action should deploy.
0 commit comments