mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-07 20:44:05 +09:00
This publishes all available Storybooks to Chromatic - this happens per push so you will always be able to check out the current state of things in those Storybooks. Since you have a lot of Storybooks... this isn't quite convenient. I plan to combine all of those Storybooks into a single one (a single storybook that will reference all of those smaller ones). I'd like to do that in a follow-up PR though - let's now focus on getting this up and running.
23 lines
359 B
YAML
23 lines
359 B
YAML
name: Main workflow
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
checks:
|
|
timeout-minutes: 20
|
|
|
|
env:
|
|
NODE_ENV: test
|
|
DATABASE_URL: postgres://
|
|
AUTH_SECRET: test
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: ./.github/actions/ci-setup
|
|
|
|
- run: yarn prisma generate
|
|
- run: yarn build
|
|
- run: yarn checks
|