Skip to content

chore: upgrade node to v22 #3011

chore: upgrade node to v22

chore: upgrade node to v22 #3011

name: Storybook - Pull Request
on:
pull_request:
branches:
- daily
- release/alpha
- master
paths:
- ".github/workflows/**"
- "packages/@liexp/**/src/**"
- "services/storybook/**"
jobs:
install:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install-deps
with:
hash: ${{ hashFiles('**/pnpm-lock.yaml') }}
lint:
runs-on: ubuntu-latest
needs: [install]
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install-deps
with:
hash: ${{ hashFiles('**/pnpm-lock.yaml') }}
- uses: ./.github/actions/build-packages
with:
hash: ${{ github.sha }}
- name: Lint code
run: pnpm storybook lint
build:
runs-on: ubuntu-latest
needs: [install]
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install-deps
with:
hash: ${{ hashFiles('**/pnpm-lock.yaml') }}
- uses: ./.github/actions/build-packages
with:
hash: ${{ github.sha }}
- uses: actions/cache@v4
with:
path: services/storybook/build
key: storybook-build
- name: Type Check Storybook
run: pnpm storybook build
- name: Build Storybook
run: pnpm storybook build-sb