Skip to content

Update names

Update names #1

Workflow file for this run

name: Build Storybook
on:
workflow_call:
inputs:
pr-number:
required: false
type: string
jobs:
Build-Storybook-Assets:
name: Test
runs-on: ubuntu-latest

Check failure on line 11 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

You have an error in your yaml syntax on line 11
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '18.x'
- name: Install Node Packages
run: npm i
- name: Install Global NG CLI
run: npm install -g @angular/cli@16
- name: Build Stackblitz HTMLs
run: npm run demo:stackblitzes
- name: Build Storybook Assets
env:
NODE_OPTIONS: "--max_old_space_size=4096"
pr: ${{ inputs.pr-number }}
run: GH_PAGES=true PR=$pr ng run sam-design-system-site:build-storybook
- name: Add .nojekyll file to allow for node_modules to be included in bundle
run: touch storybook-static/.nojekyll
- name: Archive Storybook Assets
uses: actions/upload-artifact@v4
with:
name: storybook-assets
path: storybook-static
retention-days: 1