Rxhul18-feat-migration-ui #6
Workflow file for this run
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: Quality Checks | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
prettier: | |
name: 'Format' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Bun | |
uses: oven-sh/setup-bun@v2 | |
with: | |
bun-version: 'latest' | |
- name: Install dependencies | |
run: bun install --frozen-lockfile | |
- name: Run Format check | |
run: bun run format:fix | |
eslint: | |
name: 'ESLint' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Bun | |
uses: oven-sh/setup-bun@v2 | |
with: | |
bun-version: 'latest' | |
- name: Install dependencies | |
run: bun install --frozen-lockfile | |
- name: Run ESLint check | |
run: bun run lint | |
types: | |
name: 'TypeScript' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Bun | |
uses: oven-sh/setup-bun@v2 | |
with: | |
bun-version: 'latest' | |
- name: Install dependencies | |
run: bun install --frozen-lockfile | |
- name: Run TypeScript type check | |
run: bun run type-check |