Skip to content

Commit

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

jobs:
prepare:
uses: ./.github/workflows/prepare.yml

lint:
needs: prepare
runs-on: ubuntu-latest
steps:
# setup
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2

- name: Install package dependencies
run: bun install

# goal
- name: Check TypeScript types
run: bun run check

Expand Down
14 changes: 0 additions & 14 deletions .github/workflows/prepare.yml

This file was deleted.

14 changes: 9 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
name: Run tests
name: Test

on:
pull_request:
branches:
- main

jobs:
prepare:
uses: ./.github/workflows/prepare.yml

test:
needs: prepare
runs-on: ubuntu-latest
steps:
# setup
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2

- name: Install package dependencies
run: bun install

# goal
- name: Run tests
run: bun run test

0 comments on commit 24497ff

Please sign in to comment.