Skip to content

Commit

Permalink
Update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
jawj committed Dec 10, 2024
1 parent c5d6ee7 commit 77c5c0a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ on:
- main

jobs:
check-format:
prepare:
uses: ./.github/workflows/prepare.yml

lint:
needs: prepare
runs-on: ubuntu-latest
steps:
- uses: ./.github/workflows/prepare.yml

- name: Check TypeScript types
run: bun run check

Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@ on:
- main

jobs:
run-tests:
prepare:
uses: ./.github/workflows/prepare.yml

test:
needs: prepare
runs-on: ubuntu-latest
steps:
- uses: ./.github/workflows/prepare.yml

- name: Run tests
run: bun run test

0 comments on commit 77c5c0a

Please sign in to comment.