Skip to content

Commit

Permalink
chore: split steps for easier visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
logaretm authored Aug 17, 2024
1 parent 50664f5 commit c49c224
Showing 1 changed file with 33 additions and 3 deletions.
36 changes: 33 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Main CI
on: [push]

jobs:
ts-lint-test:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand All @@ -17,9 +17,39 @@ jobs:
run: pnpm install
- name: Build
run: pnpm build
- name: Type Check
run: pnpm typecheck
- name: Lint
run: pnpm lint

typecheck:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm build
- name: Type Check
run: pnpm typecheck

tests:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm build
- name: Test
run: pnpm test

0 comments on commit c49c224

Please sign in to comment.