Skip to content

Commit

Permalink
workflow : Updated to Node.js v20
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahdi-Hazrati committed Oct 16, 2024
1 parent 04ad0a7 commit 0b5fead
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/deploy-npui-github-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,18 @@ jobs:
# Manual Checkout
- uses: actions/checkout@v4

# Set up Node
# Set up Node.js (using Node v20)
- uses: actions/setup-node@v4
with:
node-version: '16.x'
node-version: '20.x' # Updated to Node.js v20

#👇 Add Storybook build and deploy to GitHub Pages as a step in the workflow
# Install dependencies
- run: npm ci

# Build Storybook and deploy to GitHub Pages
- uses: bitovi/[email protected]
with:
install_command: npm ci # default: npm ci
build_command: npm run build-storybook # default: npm run build-storybook
path: storybook-static # default: dist/storybook
checkout: false # default: true
checkout: false # default: true

0 comments on commit 0b5fead

Please sign in to comment.