Skip to content

Commit

Permalink
fix: compile runners first and use node v20 in gh actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jenspots committed Jul 20, 2024
1 parent e5f846a commit 8b516c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Set up NPM
uses: actions/setup-node@v2
with:
node-version: '21'
node-version: '20'

- name: Build
run: ./gradlew installDist --console=plain --warning-mode all
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/Main.kt
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ internal suspend fun exec(path: String) {
}

// For each package, run the preparation command if it exists.
parser.packages.forEach { prepare(it) }
parser.packages.sortedBy { it.runners.size * -1 }.forEach { prepare(it) }

// Start the orchestrator.
Log.shared.debug("Invoking orchestrator.")
Expand Down

0 comments on commit 8b516c2

Please sign in to comment.