Skip to content

Bump storybook from 8.0.9 to 8.1.3 #1276

Bump storybook from 8.0.9 to 8.1.3

Bump storybook from 8.0.9 to 8.1.3 #1276

Workflow file for this run

name: CI
on:
push:
branches:
- main
- next
pull_request:
jobs:
build:
name: 'Lint & type check'
runs-on: ubuntu-latest
steps:
- name: Checkout branch
uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Free up space on GitHub image
run: |
# Based on the official advice:
# https://github.com/actions/virtual-environments/issues/2840#issuecomment-790492173
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
- name: Setup pnpm
uses: pnpm/action-setup@v3
- name: Setup Node from .nvmrc
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: pnpm
- name: Restore cache
uses: actions/cache@v3
with:
path: |
**/.eslintcache
**/.turbo
node_modules/.cache/turbo
polaris.shopify.com/.next/cache
key: ${{ runner.os }}-lint-v3-${{ github.sha }}
restore-keys: |
${{ runner.os }}-lint-v3-
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build packages
run: pnpm build
- name: Lint
run: pnpm lint
- name: Type check
run: pnpm type-check