Skip to content

[DEV-11412] Fix CI checks #368

[DEV-11412] Fix CI checks

[DEV-11412] Fix CI checks #368

Workflow file for this run

name: Build Storybook
on: push
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 16.x ]
react-version: [ 16.14.0, 17, 18 ]
steps:
- uses: actions/checkout@v2
- name: Setup Environment
uses: prezly/setup-github-actions@v1
with:
node: ${{ matrix.node-version }}
pnpm: "8.4.0"
- name: Set React ${{ matrix.react-version }}
uses: prezly/pnpm-overrides-action@v1
with:
'@types/react': "${{ matrix.react-version }}"
'@types/react-dom': "${{ startsWith(matrix.react-version, '16.') && '16.9.9' || matrix.react-version }}"
'react': "${{ matrix.react-version }}"
'react-dom': "${{ matrix.react-version }}"
- name: Install dependencies
run: pnpm install --no-frozen-lockfile
- name: Build Project
run: pnpm build:dev
- name: Build Storybook
run: pnpm storybook:build
working-directory: packages/slate-editor