Skip to content

1.8.1

1.8.1 #5

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
lint-and-build:
runs-on: ubuntu-24.04
strategy:
matrix:
node-version: [20, 22, 24]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run ESLint
run: npm run lint
- name: Build Storybook
run: npm run storybook:build
- name: Upload Storybook build artifacts
uses: actions/upload-artifact@v4
if: matrix.node-version == 20
with:
name: storybook-build
path: storybook-static/
retention-days: 30