Skip to content

Commit 3b6a972

Browse files
committed
Update storybook.yml
1 parent a51a723 commit 3b6a972

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/storybook.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
url: ${{ steps.deployment.outputs.page_url }}
1919
steps:
2020
- name: Checkout
21-
uses: actions/checkout@v3
21+
uses: actions/checkout@v4
2222

2323
- name: Setup Node.js
24-
uses: actions/setup-node@v3
24+
uses: actions/setup-node@v4
2525
with:
2626
node-version: '18'
2727
cache: 'npm'
@@ -35,7 +35,7 @@ jobs:
3535

3636
# Step 2: Generate TypeDoc into a subdirectory of Storybook
3737
- name: Generate TypeDoc documentation
38-
run: npx typedoc --out storybook-static/api src/index.ts
38+
run: npm run docs
3939

4040
# Step 3: Create a simple navigation page (optional)
4141
- name: Create navigation page
@@ -62,13 +62,13 @@ jobs:
6262
</html>' > storybook-static/docs-home.html
6363
6464
- name: Setup Pages
65-
uses: actions/configure-pages@v3
65+
uses: actions/configure-pages@v4
6666

6767
- name: Upload artifact
68-
uses: actions/upload-pages-artifact@v2
68+
uses: actions/upload-pages-artifact@v3
6969
with:
7070
path: './storybook-static'
7171

7272
- name: Deploy to GitHub Pages
7373
id: deployment
74-
uses: actions/deploy-pages@v2
74+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)