Skip to content

chore(changelog): bump changelog to 2.2.1 #12

chore(changelog): bump changelog to 2.2.1

chore(changelog): bump changelog to 2.2.1 #12

name: Storybook Preview
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20.19.0
cache: npm
- name: Install root deps
run: npm install
- name: Build package
run: npm run build
- name: Build Storybook (hello-world)
working-directory: apps/hello-world
run: |
npm pkg set "devDependencies.@aurelia/storybook=file:../.."
npm install
npm run build-storybook
- name: Configure Pages
uses: actions/configure-pages@v5
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: apps/hello-world/storybook-static
deploy:
runs-on: ubuntu-latest
needs: build
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4