From 77c5c0ad5453f6ce907f83b901cdc53e1365e1ff Mon Sep 17 00:00:00 2001 From: George MacKerron Date: Tue, 10 Dec 2024 15:54:40 +0000 Subject: [PATCH] Update workflows --- .github/workflows/lint.yml | 8 +++++--- .github/workflows/test.yml | 8 +++++--- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 404084c..877a4bf 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1e10cb0..cb803b6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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