From fc47c4f7acaa3138a3bc9bc739fe973bbbd93351 Mon Sep 17 00:00:00 2001 From: NullVoxPopuli Date: Fri, 15 Jul 2022 15:12:34 -0400 Subject: [PATCH] Install deps before running longer ci jobs --- .github/workflows/ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2eb11767..27c08508 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,9 +12,18 @@ env: CI: true jobs: + install_deps: + name: Install Dependencies + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: ./.github/actions/pnpm + + lint_js: name: Lint JS runs-on: ubuntu-latest + needs: ['install_deps'] steps: - uses: actions/checkout@v3 - uses: ./.github/actions/pnpm @@ -23,6 +32,7 @@ jobs: test_type_checking: name: "Tests: Type Check" + needs: ['install_deps'] timeout-minutes: 5 runs-on: ubuntu-latest @@ -36,6 +46,7 @@ jobs: name: Tests timeout-minutes: 5 runs-on: ubuntu-latest + needs: ['install_deps'] strategy: matrix: # how to say "not these" so we don't miss anything?