Skip to content

Commit

Permalink
Install deps before running longer ci jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed Jul 15, 2022
1 parent 62e8bc8 commit fc47c4f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -23,6 +32,7 @@ jobs:

test_type_checking:
name: "Tests: Type Check"
needs: ['install_deps']
timeout-minutes: 5
runs-on: ubuntu-latest

Expand All @@ -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?
Expand Down

0 comments on commit fc47c4f

Please sign in to comment.