Skip to content

Upgrade to Storybook 8 and switched to vite bundler #28

Upgrade to Storybook 8 and switched to vite bundler

Upgrade to Storybook 8 and switched to vite bundler #28

Workflow file for this run

name: build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint-test-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup NodeJs
uses: actions/setup-node@v3
with:
node-version: 16.x
cache: 'npm'
cache-dependency-path: package-lock.json
- name: Install dependencies
run: npm ci
- name: Check formatting
run: npm run format:check
- name: build
run: npm run build
- name: Run tests
run: npm test