Skip to content

Commit

Permalink
Merge pull request #134 from US-CBP/feature/minor-updates-20210329
Browse files Browse the repository at this point in the history
Updated Stencil, Storybook and ghp deploy script
  • Loading branch information
dgibson666 authored Apr 11, 2024
2 parents 62bdf37 + ffdc9ca commit 4541b7c
Show file tree
Hide file tree
Showing 5 changed files with 495 additions and 496 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/publish-gh-pages.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/deploy-pages@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

# Workflow name
name: Build and Publish Storybook to GitHub Pages
run-name: ${{ github.actor }} is deploying the CBP Design System documentation packages to Github Pages
Expand All @@ -19,6 +17,9 @@ permissions:
# List of jobs
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.build-publish.outputs.page_url }}
runs-on: ubuntu-latest
# Job steps
steps:
Expand All @@ -28,13 +29,13 @@ jobs:
# Set up Node
- uses: actions/setup-node@v3
with:
node-version: '18.x'

node-version: '20.x'
#👇 Add Storybook build and deploy to GitHub Pages as a step in the workflow
- uses: bitovi/[email protected]
- id: build-publish
uses: bitovi/[email protected]
with:

install_command: npm run install-wc-package # default: npm ci
install_command: npm ci # default: npm ci
build_command: npm run build-wc-package # default: npm run build-storybook
path: .public/web-components-sb # default: dist/storybook
checkout: false # default: true
Loading

0 comments on commit 4541b7c

Please sign in to comment.