Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 28 additions & 4 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,19 @@ on:
types: [opened, synchronize, reopened, ready_for_review]

jobs:
prettier:
runs-on: ubuntu-latest
timeout-minutes: 1
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Run prettier action
uses: arnorhs/prettier-check@v1.0.9
with:
main-branch: master

checks:
name: CI checks
runs-on: ubuntu-latest
Expand All @@ -28,11 +41,22 @@ jobs:
key: global-cache-v3-${{ hashFiles('**/pnpm-*') }}
- name: Install dependencies
run: pnpm i
- name: Prettier format check
run: pnpm prettier --check .
- name: Turbo build
run: pnpm turbo build
- name: Turbo typecheck
run: pnpm turbo typecheck
- name: Turbo test
run: pnpm turbo test
- name: Turbo build
run: pnpm turbo build
- name: Turbo export
run: pnpm turbo export

checks-result:
name: Checks OK
runs-on: ubuntu-latest
timeout-minutes: 1
needs:
- prettier
- checks
steps:
- name: All deployed
run: echo "All good"
Loading