Skip to content

feat: setup Storybook 8 #389

feat: setup Storybook 8

feat: setup Storybook 8 #389

Workflow file for this run

name: Quality
on:
pull_request:
types: [opened, reopened, synchronize]
jobs:
quality:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Setup NodeJS
uses: actions/setup-node@v3
with:
node-version: 20
- name: Get Yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
- name: Restore cache
uses: actions/cache/restore@v3
with:
path: |
node_modules
${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ hashFiles('**/yarn.lock') }}-${{ runner.os }}
restore-keys: ${{ hashFiles('**/yarn.lock') }}
- name: Install dependencies
shell: bash
run: yarn install --immutable --frozen-lockfile
- name: Run tests
run: yarn test
- name: Run TypeScript checks
run: yarn tsc
- name: Run ESLint checks
run: yarn lint
- name: Run Prettier checks
run: yarn pretty:check