Merge pull request #27 from storybookjs/yann/next-15-support #118
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push] | |
jobs: | |
checks: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: 9.4.0 | |
run_install: true | |
- name: Build the plugin | |
run: pnpm build | |
- name: Check if Storybook builds successfully | |
run: pnpm build-storybook | |
working-directory: ./example | |
- name: Install Playwright | |
working-directory: ./example | |
run: pnpm exec playwright install | |
- name: Run all tests | |
run: pnpm test:all | |
working-directory: ./example | |
# - name: Run Portable stories tests | |
# run: pnpm test:storybook | |
# working-directory: ./example | |
- name: Biome checks | |
run: pnpm check |