Merge pull request #73 from storybookjs/dependabot/npm_and_yarn/creat… #145
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: All Checks | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
format: | |
name: Check Formatting | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Prepare dependencies | |
uses: ./.github/actions/prepare-deps | |
- name: Check formatting with Prettier | |
run: pnpm format:check | |
type-check: | |
name: Check Types | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Prepare dependencies | |
uses: ./.github/actions/prepare-deps | |
- name: Check TypeScript Types | |
run: pnpm type-check | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Prepare dependencies | |
uses: ./.github/actions/prepare-deps | |
- name: Build | |
run: pnpm build | |
smoke-test: | |
name: Smoke test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Prepare dependencies | |
uses: ./.github/actions/prepare-deps | |
- name: Build | |
run: pnpm build | |
- name: Start | |
run: pnpm start-all |